1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-08 03:23:15 +00:00

Fix async issue

This commit is contained in:
Thomas Rittson
2021-12-20 15:09:59 +10:00
parent 09df527ada
commit 82cf44cd85

View File

@@ -240,7 +240,7 @@ export class AuthService implements AuthServiceAbstraction {
private async processTokenResponse(
response: IdentityTokenResponse | IdentityTwoFactorResponse | IdentityCaptchaResponse,
newSsoUser: boolean = false,
onSuccess: () => void
onSuccess: () => Promise<void>
): Promise<AuthResult> {
this.clearState();
const result = new AuthResult();