1
0
Fork 0

Client: fix login state when logout

This commit is contained in:
Chocobozzz 2016-07-27 21:15:13 +02:00
parent 32bb415602
commit e62f6ef741
1 changed files with 2 additions and 0 deletions

View File

@ -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() {