Start your All-Access Pass to unlock this challenge
Challenge 1 / 2
You add this to security.yaml:
security:
access_control:
- { path: ^/admin, roles: ROLE_ADMIN }
Now you want a page at /admin/login that everyone can see, even if they're not logged in. What's the simplest way to do that?
Skip challenges and go to theNext Chapter