Closed (fixed)
Project:
Restrict route by IP
Version:
1.0.0-beta2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
24 Nov 2021 at 10:15 UTC
Updated:
12 Dec 2021 at 18:10 UTC
Jump to comment: Most recent
Urls and IPs have to be write in a configuration form.
See the file src/Routing/RouteSubscriber.php.
For now only route user.login is checked and not configurable and IPs are to be set in the settings.php file like this :
$config['restrict_admin']['ip'] = [
'127.0.0.1'
];
Comments
Comment #2
olivierg commentedComment #3
olivierg commentedComment #4
olivierg commentedComment #5
olivierg commentedComment #7
olivierg commentedComment #8
olivierg commented