Skip to content

Add Remember Me session storage for login#252

Open
gTanusri wants to merge 1 commit into
rdodiya:gssoc_developfrom
gTanusri:feature/issue-242-remember-me
Open

Add Remember Me session storage for login#252
gTanusri wants to merge 1 commit into
rdodiya:gssoc_developfrom
gTanusri:feature/issue-242-remember-me

Conversation

@gTanusri
Copy link
Copy Markdown
Contributor

@gTanusri gTanusri commented Jun 7, 2026

Summary

  • Added a shared auth storage helper to support both persistent and session-only login.
  • Added a Remember Me checkbox on the login page.
  • Store auth tokens in localStorage when Remember Me is checked and sessionStorage when unchecked.
  • Applied the same storage behavior to Google login.
  • Updated protected routes, API interceptors, logout, and websocket notification requests to read and clear auth data from both storage locations.
  • Fixed a missing closing brace in ApiService.js that was preventing the frontend build from parsing.

Issue

Closes #242

Validation

  • npm run build passes
  • ./gradlew.bat compileJava passes
  • git diff --check passes

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.

Enhancement: Add "Remember Me" checkbox to login form

1 participant