diff --git a/frontend/src/app/services/auth.service.ts b/frontend/src/app/services/auth.service.ts index f13a7585f..100ddbdc4 100644 --- a/frontend/src/app/services/auth.service.ts +++ b/frontend/src/app/services/auth.service.ts @@ -44,7 +44,10 @@ export class AuthServiceMempool { map((user) => { return user; }), - catchError(() => of(null)), + catchError(() => { + this.setAuth(null); + return of(null); + }), ); }