Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Do not wait for logout call to finish when explicitly logging out so its compatible with offline mode (#957)
Leendert de Borste57cb01164c7
diff --git a/apps/mobile-app/utils/WebApiService.ts b/apps/mobile-app/utils/WebApiService.tsindex d59bbf3ec..479d7e0cb 100644--- a/apps/mobile-app/utils/WebApiService.ts+++ b/apps/mobile-app/utils/WebApiService.ts@@ -237,7 +237,8 @@ export class WebApiService {return;}- await this.post('Auth/revoke', {+ // We do not await this as we want to continue with the logout even if the revoke fails or takes a long time.+ this.post('Auth/revoke', {token: await this.getAccessToken(),refreshToken: refreshToken,}, false);