Client: fix login state when logout

pull/10/merge
Chocobozzz 2016-07-27 21:15:13 +02:00
parent 32bb415602
commit 724fed2931
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.LoggedIn);
}
refreshAccessToken() {