mirror of
https://github.com/bitwarden/browser
synced 2024-12-25 09:32:06 +01:00
missing await
This commit is contained in:
parent
30a1e27aa6
commit
7ec8d3a3b5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user