-
Notifications
You must be signed in to change notification settings - Fork 294
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
remember_me cookie not added after login #694
Comments
CakeDC 7.0.0 / Auth 2.0.3 / CakePHP 3.6.4 In vendor/cakedc/users/src/Controller/Component/RememberMeComponent:
Why the if condition on Users.Key.Data.rememberMe ? Even if the key is set, the condition is True and the cookie is never written ! I will certainly remove this condition in my case, other ideas ? |
Alright, i figured out that in the Component login.ctp it had the following code:
So I added it to my Template/Plugin/Users/Users/login.ctp but I put the checkbox display to none because i want to write automatically the Cookie. I don't want the user to choose ! |
@benoitkopp I think you can add the field as hidden. Can you confirm is this still an issue in latest version? |
Hello all !
I just upgraded CakeDC/Users at the 7.0.0 version with CakeDC/Auth 2.0.3.
Before, with the default configuration, the remember_me cookie was automatically added on the login.
Since the update, the cookie is not added on the login and i'm disconnected from the session after the default CakePHP Session time.
Did i miss something ?
Thanks in advance !
The text was updated successfully, but these errors were encountered: