Skip to content

Re-login after changing password #4214

Martin Santangelo requested to merge feat/logout-passwordchange into release/4.24.0

Ticket(s) / Related Merge Requests

#4214 (closed)

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:

  1. 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
  1. 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:

  1. 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

Screen_Shot_2022-04-25_at_14.02.17

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode
Edited by Martin Santangelo

Merge request reports