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

"Remember Me" Functionality Not Working as Expected #61

Open
AndiError opened this issue May 8, 2024 · 0 comments
Open

"Remember Me" Functionality Not Working as Expected #61

AndiError opened this issue May 8, 2024 · 0 comments

Comments

@AndiError
Copy link
Owner

AndiError commented May 8, 2024

URL: https://my.dev.ringrx.com/v2/login
User: [email protected]
Role: admin

Problem:
The "Remember Me" function fails to display saved login credentials upon returning to the login page, despite selecting the checkbox during the previous login session. Although the authentication token associated with the user is successfully saved in the browser's local storage, the system does not retrieve and display the credentials when required.

Step to reproduce:

  1. Navigate to the login page.
  2. Enter valid login credentials.
  3. Check the "Remember Me" checkbox.
  4. Check the browser's local storage for token data, expecting to find it stored in a specific location.
  5. Log out of the system.
  6. Check all browser storage options (Cookies, session, local storage) to identify any paths related to the "Remember Me" function.
  7. Return to the login page.
  8. Observe that the login field is not pre-filled with the saved credentials.

Expected Result:

Upon selecting the "Remember Me" checkbox and subsequent log out, the system should retain and display the saved login credentials in the respective fields upon returning to the login page

Actual Result:

After logout and returning to the login page, the login field remains empty, failing to display the saved credentials despite selecting the "Remember Me" checkbox during the previous login session.

Additional Notes:

  • This issue significantly impacts user experience by requiring manual entry of credentials for each login, despite opting for the "Remember Me" option.

  • Despite successfully storing the authentication token in the browser's local storage, the system fails to retrieve and display saved credentials, indicating a specific issue with the display mechanism.

  • After logging out, attempts to locate any token identifiers stored in the browser's local storage were unsuccessful.

  • Furthermore, an error was encountered in the console, suggesting potential issues with token retrieval or handling.

Attachments:
https://www.loom.com/share/8af237bcbabf40cfbffca3999b2822f6

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

No branches or pull requests

1 participant