Skip to content
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

[5.x] Update CSRF token when session expiry login modal is closed #10794

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

jasonvarga
Copy link
Member

Fixes #10793

If the login modal closes automatically it would have been before the session was renewed elsewhere.

At the moment the token is only updated when you submit the form. Since you don't actually submit the form in this case, the token was never updated. Now it will.

@jasonvarga jasonvarga merged commit 6e5d6a2 into 5.x Sep 12, 2024
16 checks passed
@jasonvarga jasonvarga deleted the session-timeout-remember branch September 12, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSRF token mismatch when remember me is enabled
1 participant