Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Client: fix login state when logout

Chocobozzze62f6ef741c8
diff --git a/client/src/app/shared/auth/auth.service.ts b/client/src/app/shared/auth/auth.service.ts
index 667fbeb1f4..4c08e24c0e 100644
--- a/client/src/app/shared/auth/auth.service.ts
+++ b/client/src/app/shared/auth/auth.service.ts
@@ -107,6 +107,8 @@ export class AuthService {
// TODO: make an HTTP request to revoke the tokens
this.user = null;
User.flush();
+
+ this.setStatus(AuthStatus.LoggedOut);
}
refreshAccessToken() {