From 82cf44cd85501b4251ced54d5d1f405dc61614f8 Mon Sep 17 00:00:00 2001 From: Thomas Rittson Date: Mon, 20 Dec 2021 15:09:59 +1000 Subject: [PATCH] Fix async issue --- common/src/services/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/services/auth.service.ts b/common/src/services/auth.service.ts index cdfab402..fb8923f1 100644 --- a/common/src/services/auth.service.ts +++ b/common/src/services/auth.service.ts @@ -240,7 +240,7 @@ export class AuthService implements AuthServiceAbstraction { private async processTokenResponse( response: IdentityTokenResponse | IdentityTwoFactorResponse | IdentityCaptchaResponse, newSsoUser: boolean = false, - onSuccess: () => void + onSuccess: () => Promise ): Promise { this.clearState(); const result = new AuthResult();