Answer the question
In order to leave comments, you need to log in
How to throw 404 status from access control?
There is a limit on ip
# security.yml
...
access_control:
- { path: ^/admin, roles: ROLE_ADMIN, ips: [127.0.0.1]}
- { path: ^/admin, roles: ROLE_NO_ACCESS }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question