mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
missing await
This commit is contained in:
@@ -252,7 +252,7 @@ export class AuthService {
|
|||||||
|
|
||||||
const tokenResponse = response as IdentityTokenResponse;
|
const tokenResponse = response as IdentityTokenResponse;
|
||||||
if (tokenResponse.twoFactorToken != null) {
|
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);
|
await this.tokenService.setTokens(tokenResponse.accessToken, tokenResponse.refreshToken);
|
||||||
|
|||||||
Reference in New Issue
Block a user