You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only if the user is fully authenticated (note: "remember me" does not count as fully authenticated)
or something along those lines.
Also, the section below that contains:
... that is called whenever an unauthenticated user tries to access a protected resource
is misleading and should be changed. Instead of "unauthenticated users" it really should say "not fully authenticated users".
Side note, I disagree with the current behaviour (I think users authenticated with "remember me" should count as "authenticated"), but it is what it is and I think the docs should make it clear so future developers don't get surprised.
The text was updated successfully, but these errors were encountered:
Hi folks, this page https://symfony.com/doc/current/security/access_denied_handler.html makes no mention of users authenticated with "remember me". I think it should be made more clear that "remember me" is treated the same as unauthenticated for the purpose of deciding whether to redirect to login or display a 403 forbidden.
I suggest changing from:
If the user is authenticated ...
to:
Only if the user is fully authenticated (note: "remember me" does not count as fully authenticated)
or something along those lines.
Also, the section below that contains:
... that is called whenever an unauthenticated user tries to access a protected resource
is misleading and should be changed. Instead of "unauthenticated users" it really should say "not fully authenticated users".
Side note, I disagree with the current behaviour (I think users authenticated with "remember me" should count as "authenticated"), but it is what it is and I think the docs should make it clear so future developers don't get surprised.
The text was updated successfully, but these errors were encountered: