missing await

This commit is contained in:
Kyle Spearrin 2019-04-18 09:47:00 -04:00
parent 30a1e27aa6
commit 7ec8d3a3b5
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ export class AuthService {
const tokenResponse = response as IdentityTokenResponse;
if (tokenResponse.twoFactorToken != null) {
this.tokenService.setTwoFactorToken(tokenResponse.twoFactorToken, email);
await this.tokenService.setTwoFactorToken(tokenResponse.twoFactorToken, email);
}
await this.tokenService.setTokens(tokenResponse.accessToken, tokenResponse.refreshToken);