Client: fix login state when logout
This commit is contained in:
parent
32bb415602
commit
724fed2931
|
@ -107,6 +107,8 @@ export class AuthService {
|
||||||
// TODO: make an HTTP request to revoke the tokens
|
// TODO: make an HTTP request to revoke the tokens
|
||||||
this.user = null;
|
this.user = null;
|
||||||
User.flush();
|
User.flush();
|
||||||
|
|
||||||
|
this.setStatus(AuthStatus.LoggedIn);
|
||||||
}
|
}
|
||||||
|
|
||||||
refreshAccessToken() {
|
refreshAccessToken() {
|
||||||
|
|
Loading…
Reference in New Issue