FriendsOfSymfony/FOSUserBundle — Issue #525: Double auth
Author: artyomboyko
Created: 2012-02-06 16:16:42+00:00
State: open

security.xml

...
- { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
...

After logging in, with all default settings, on the page app_dev.php/login i see can that i already in the system, but i can see login form again:

Logged in as test | Logout
(Username: Password: Remember me ) - form

Why is this possible ? How can i restrict access to /login/ for already authorized users.