Login: automatically log out on expired token.
This is a bit of a workaround. The problem is that we cache auth tokens, but that auth tokens can expire. Thins means that we could have a stale auth token after coming back to the app after a long time, so we need to fetch a new one. Logging out is a bit of a nuclear option, but since this is a rare scenario, it can do for now.master
parent
84f7a11bbc
commit
dac6ba5900
Loading…
Reference in New Issue