mirror of
https://github.com/bitwarden/jslib
synced 2026-01-08 03:23:15 +00:00
Fix async issue
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user