Closed LuisDuarte1 closed 11 months ago
Apparently #814 has done this already, but it doesn't work for me at least on the current version on develop
I review the code and the #814 doesn't handle this case, since it's only in the login function. (login fails and checks if the password was expired) To handle this, we should think also including the checking the relogin function.
After changing the password, automatic logout flow was executed.
We should check on app start (if there's a persistent session) if login fails, try to get the reason why from sigarra, and if it's expired/change automatically logout from the app.
Not sure if #814 made this (cc. @thePeras) because in the current version this behavior doesn't work, if it already exists.