Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

[BUG] App doesn't tell you when it's logged you out on changing user email #43

Closed
lissertations opened this issue Mar 9, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@lissertations
Copy link
Contributor

Describe the bug
When a user changes their email address, the app is meant to immediately log them out. However, the app currently does not tell a user that they have been logged out when they change their email address. Additionally, users can continue to make edits to their user details without being aware that they have been logged out. It is unclear whether these edits save properly to the database.

To Reproduce

  1. Log in, navigate to /user
  2. Change email address and/or other details
  3. Click 'update'
  4. Admire the absence of any error or advice message
  5. Continue to update user details

Expected behavior
I expected the app to tell me that I had been logged out. It wasn't until I did a forced refresh (cleared cache) that I was returned to the /letmein screen.

Desktop (please complete the following information):
Chrome on macOS

@hughrun
Copy link
Owner

hughrun commented Mar 9, 2020

I'll experiment tonight, I think this can be fixed with a "loading" function.

@hughrun
Copy link
Owner

hughrun commented Mar 10, 2020

Ooh I see the problem now. It logs out but because it's an AJAX call it doesn't force a redirect to logout. That's a problem!

@hughrun hughrun changed the title [BUG] App doesn't tell you when it's logged you out [BUG] App doesn't tell you when it's logged you out on changing user email Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants