-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
Force user session expiration after logout #36
Comments
Umm.. should be the case, the session is invalidated and restarted. https://github.com/getgrav/grav-plugin-login/blob/develop/classes/controller.php#L114-L120 |
I just tested this and the session is reset on logout. A new session is started, but it's a new session. |
Good catch! But... sorry to reopen it 😋 I found the issue. This is issue is closely connected with issue #30. It is due to different setting of See my PR #35, which also adds a logout page, since even though you are destroying and re-creating a new session in the above lines, the logout message will not be printed to the user after the redirect... |
When logging out, the session for the current user have to be closed and any credentials deleted. Currently this is not the case.
The text was updated successfully, but these errors were encountered: