New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IS_AUTHENTICATED_REMEMBERED instead of _FULLY #148

Merged
merged 1 commit into from Sep 15, 2017

Conversation

Projects
None yet
3 participants
@shql
Contributor

shql commented Jan 20, 2017

When you use the "remember me" functionality of Symfony (and most likely the FOS User Bundle) you are getting a different role when coming back and authenticating through your cookie. Therefore I suggest to use IS_AUTHENTICATED_REMEMBERED role to also show user related content which is missing instead.

IS_AUTHENTICATED_REMEMBERED instead of _FULLY
When you use the "remember me" functionality of Symfony (and most likely the FOS User Bundle) you are getting a different role when coming back and authenticating through your cookie. Therefore I suggest to use IS_AUTHENTICATED_REMEMBERED role to also show user related content which is missing instead.
@shakaran

This comment has been minimized.

Show comment
Hide comment
@shakaran

shakaran Sep 15, 2017

Collaborator

@chteuchteu seems legit change and easy to merge to me, when you can, thanks!

Collaborator

shakaran commented Sep 15, 2017

@chteuchteu seems legit change and easy to merge to me, when you can, thanks!

@chteuchteu chteuchteu merged commit d21d0fa into avanzu:master Sep 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment