immich icon indicating copy to clipboard operation
immich copied to clipboard

fix(mobile) - Allow sign out if server is down, or device is offline

Open ddshd opened this issue 1 year ago • 1 comments

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.

ddshd avatar Jul 15 '23 01:07 ddshd

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

vercel[bot] avatar Jul 15 '23 01:07 vercel[bot]