What's the problem?
The login form always stores tokens in localStorage, meaning
users stay signed in permanently across browser sessions.
There is no option for users who want a session-only login
(sign out automatically when browser closes).
Where is it happening
src/pages/public/Login.jsx — token storage in onSubmit
and handleGoogleLogin
What I'm suggesting
Add a "Remember Me" checkbox to the login form:
- Checked → store tokens in
localStorage (current behavior)
- Unchecked → store tokens in
sessionStorage (session only)
Why it matters
Users on shared or public devices should have the option to
not stay permanently signed in. This is a standard security
and UX expectation on any login form.
I would like to work on this issue under GSSoC.
Please assign this issue to me.
Thank you.
What's the problem?
The login form always stores tokens in
localStorage, meaningusers stay signed in permanently across browser sessions.
There is no option for users who want a session-only login
(sign out automatically when browser closes).
Where is it happening
src/pages/public/Login.jsx— token storage inonSubmitand
handleGoogleLoginWhat I'm suggesting
Add a "Remember Me" checkbox to the login form:
localStorage(current behavior)sessionStorage(session only)Why it matters
Users on shared or public devices should have the option to
not stay permanently signed in. This is a standard security
and UX expectation on any login form.
I would like to work on this issue under GSSoC.
Please assign this issue to me.
Thank you.