Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-09-04 18:22:38 +02:00
parent b1023fbc01
commit aba225f223
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ export class AuthenticatorValidateStageWebMobile extends BaseStage<
firstUpdated(): void {
this.host?.submit({
duo: this.deviceChallenge?.deviceUid,
mobile: this.deviceChallenge?.deviceUid,
});
}
@ -48,7 +48,7 @@ export class AuthenticatorValidateStageWebMobile extends BaseStage<
return html`<ak-empty-state ?loading="${true}" header=${msg("Loading")}>
</ak-empty-state>`;
}
const errors = this.challenge.responseErrors?.duo || [];
const errors = this.challenge.responseErrors?.mobile || [];
return html`<div class="pf-c-login__main-body">
<form
class="pf-c-form"
@ -78,7 +78,7 @@ export class AuthenticatorValidateStageWebMobile extends BaseStage<
}
return html`<p>${err.string}</p>`;
})
: html`${msg("Sending Duo push notification")}`}
: html`${msg("Sending push notification")}`}
</form>
</div>
<footer class="pf-c-login__main-footer">