mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-02 08:40:08 +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