Re-login after changing password #4214
Ticket(s) / Related Merge Requests
Summary of Changes
It forces the user to log in again (entering only the password again)
- If the user logs in successfully he can continue using the app normally
- If the user cancels the login:
- If it is logged with only one user: it is redirected to the welcome screen
- If there are many users logged into the app: it logs out the current user and switches to the next of the list.
Testing Considerations
Only one user:
- Success
- Log in with a user
- Go to Settings -> Account -> Password
- Change the password
- A relogin screen must open (asking only for the password, the username must be there)
- Enter the new password
- You should be able to use the app normally
- Cancel
- Log in with a user
- Go to Settings -> Account -> Password
- Change the password
- A relogin screen must open (asking only for the password, the username must be there)
- Press the close button to cancel
- You should be redirected to the welcome screen (logged out)
Multiple user:
- Cancel
- Log in with a user
- From the Multiuser screen, log in with another account
- Go to Settings -> Account -> Password
- Change the password
- A relogin screen must open (asking only for the password, the username must be there)
- Press the close button to cancel
- The current user must be logged out and it should switch to the previous user automatically
Regression Scope
It may affect the relogin functionality (when the refresh token is expired)
Platform Affected (web, mobile, etc)
Both
Developer Testing Completed
Tested the password change success/cancel with one/many users (multiuser support)
Screenshots
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Edited by Martin Santangelo