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

Profile Updates Trigger Unexpected Logout on Page Refresh #1163

Open
avishusa opened this issue Sep 4, 2024 · 4 comments
Open

Profile Updates Trigger Unexpected Logout on Page Refresh #1163

avishusa opened this issue Sep 4, 2024 · 4 comments

Comments

@avishusa
Copy link

avishusa commented Sep 4, 2024

Describe the bug
When making updates on the 'Profile' page and saving them, refreshing the page redirects users to the login screen. This suggests that session persistence may be failing, causing users to lose their authenticated state after a refresh.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Profile'.
  2. Click on 'Edit'.
  3. Edit some Personal details and save it.
  4. After that refresh the page and you will be redirected to the login page.

Expected behavior
It should not be redirecting to the log in page, it should stay on the same page i.e. Profile.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Chrome.

Smartphone (please complete the following information):

  • Device: iphone 14 pro.
  • OS: ios
  • Browser Chrome.

Additional context
This might be issue of a token. It should not get changed after making any updates.

@SunkePavanKumar
Copy link

In local it is working fine. I cannot reproduce the issue. Attaching a video for the same.

Screen-Recording-2024-09-07T15_34_43.268Z.mp4

@bas629
Copy link

bas629 commented Sep 8, 2024

yes ,I see

@avishusa
Copy link
Author

avishusa commented Sep 8, 2024

I see. I have tried to run this on my local and it is working well. But on the website it is giving the issue.

@Pushpender1122
Copy link

Hey @avishusa, I noticed a bug I want to help. However, I couldn't find the register route when I cloned the repo. Please clarify if it's missing, or point me to where it should be. Thanks!

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

No branches or pull requests

4 participants