immich
immich copied to clipboard
fix(mobile) - Allow sign out if server is down, or device is offline
The mobile app tried to hit the .../logout
endpoint to deactivate the token on the server side, however, if the app cannot hit the server it will not log the user out. The app will clear all local memory/db but will keep the user on the logout page.
I have changed the logout endpoint call such that the app will respond no matter with the .../logout
endpoint call is able to be placed successfully or not.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
immich | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 15, 2023 2:03am |