Skip to content

Conversation

@mehedijaman
Copy link
Owner

Description:

  • Updated logout() to redirect to the GET route adminAuth.loginForm instead of POST login route. This ensures full page reload.
  • Ensures a fresh CSRF token is loaded and prevents 419 Page Expired errors on first login after logout.
  • Session is invalidated and CSRF token regenerated for security.

- Updated logout() to redirect to GET route 'adminAuth.loginForm' instead of POST login route.
- Ensures a fresh CSRF token is generated and avoids 419 Page Expired errors on first login after logout.
- Session is invalidated and CSRF token regenerated for security.
@mehedijaman mehedijaman merged commit 95f8c18 into main Aug 29, 2025
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.

2 participants