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

[Bug]: Login Doesn't Persist in Local Storage #705

Closed
4 tasks done
IkkiOcean opened this issue Oct 27, 2024 · 4 comments · Fixed by #706
Closed
4 tasks done

[Bug]: Login Doesn't Persist in Local Storage #705

IkkiOcean opened this issue Oct 27, 2024 · 4 comments · Fixed by #706
Assignees

Comments

@IkkiOcean
Copy link
Contributor

IkkiOcean commented Oct 27, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

  • The login state is not persisting in local storage, causing users to be logged out after refreshing the page. This behavior is not expected and affects user experience.
  • The backend is also not returning the user data after login. This needs to be fixed to ensure proper user session management.

Steps to Reproduce:

  1. Navigate to the login page of the application.
  2. Enter valid credentials and log in.
  3. Refresh the page.
  4. Observe that the user is logged out and needs to log in again.

Expected behavior

The user should remain logged in after refreshing the page, with the login state being preserved in local storage.

Add ScreenShots

bug_login.mp4

On which device are you experiencing this bug?

Windows

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I have starred the repository
@IkkiOcean IkkiOcean added the bug Something isn't working label Oct 27, 2024
Copy link
Contributor

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@IkkiOcean
Copy link
Contributor Author

This needs to be corrected before I move onto making cart page

@muskiagrwal
Copy link

i want to work on this issue .assign me this project

Copy link
Contributor

Hello @IkkiOcean! Your issue #705 has been closed. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants