Skip to content

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

Client: fix login state when logout

Chocobozzz724fed2931e2
diff --git a/client/src/app/shared/auth/auth.service.ts b/client/src/app/shared/auth/auth.service.ts
index 667fbeb1f4..584298fff5 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.LoggedIn);
}
refreshAccessToken() {