Closed atlet closed 2 years ago
Hi @atlet I just tested with users 9.2.1 and could not reproduce the issue. Have you check if the cookie CookieAuth
is created with a future expires date?
Hi, I think I found the problem. Cookie is setup, but is missing field username, as I don't store any username in table (they are null). I only use email for login (for username). Now I need to find a solution, how to populate this field.
Fixed, now it's working great. In users.php was missing this: Auth.Authenticators.Cookie.fields.username' => 'email',
Thank you @atlet
Pull request sent #993 . Thank you.
I crated a new project with CakePHP 4.2 and cakedc/users plugin (9.2). If I login and thick box remember me, cookie is crated but it's not working properly as I get logged out in about an hour (session duration). Any hints where to check what can be wrong? I followed the installation instructions of plugin.