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

Expired tokens are not being cleared, causing login errors #169

Closed
devleejb opened this issue Sep 3, 2024 · 1 comment
Closed

Expired tokens are not being cleared, causing login errors #169

devleejb opened this issue Sep 3, 2024 · 1 comment

Comments

@devleejb
Copy link
Member

devleejb commented Sep 3, 2024

Description:
When the token expires, the invalid token is not being cleared from the system. This results in an error message every time the login page is accessed, as shown in the attached image.

image

In reality, if the token was successfully cleared, there shouldn't be an error displayed regarding expired login at this stage.

Why:
To enhance user experience and simplify the login process, the system should ensure that expired tokens are properly cleared to avoid misleading error messages upon user login attempts.

@hackerwins
Copy link
Member

I changed the localstorage-based token to cookie-based with an expiration date. If there is an issue in the future, please report again.

6d4b8dc

@github-project-automation github-project-automation bot moved this from Backlog to Done in Yorkie Project Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants