Rename captcha bypass token (#433)

This commit is contained in:
Matt Gibson 2021-07-21 13:35:15 -05:00 committed by GitHub
parent 8bf0f75d9e
commit ea0c8267d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {