kuboslav
kuboslav

Reputation: 1460

Symfony2 remember me authentication

I have site with login form on homepage. Login form have remember_me feature. I can't figure out how to convert IS_AUTHENTICATED_REMEMBERED to IS_AUTHENTICATED_FULLY.

I suppose I should use Symfony\Component\Security\Http\RememberMe\AbstractRememberMeServices and method loginSuccess() or autoLogin() but I don't know how…

Upvotes: 1

Views: 1818

Answers (1)

leek
leek

Reputation: 12121

Why do you need to convert the user's role to IS_AUTHENTICATED_FULLY?

The documentation page How to add "Remember Me" Login Functionality should provide you with all of the information you need to get this working.

Upvotes: 2

Related Questions