From ea0c8267d483c3450e427f29aeb3797aced8a227 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Wed, 21 Jul 2021 13:35:15 -0500 Subject: [PATCH] Rename captcha bypass token (#433) --- common/src/models/response/identityTwoFactorResponse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/models/response/identityTwoFactorResponse.ts b/common/src/models/response/identityTwoFactorResponse.ts index e1886629..92886a40 100644 --- a/common/src/models/response/identityTwoFactorResponse.ts +++ b/common/src/models/response/identityTwoFactorResponse.ts @@ -9,7 +9,7 @@ export class IdentityTwoFactorResponse extends BaseResponse { constructor(response: any) { super(response); - this.captchaToken = this.getResponseProperty('HCaptcha_BypassKey'); + this.captchaToken = this.getResponseProperty('CaptchaBypassToken'); this.twoFactorProviders = this.getResponseProperty('TwoFactorProviders'); const twoFactorProviders2 = this.getResponseProperty('TwoFactorProviders2'); if (twoFactorProviders2 != null) {