Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-09-04 18:22:38 +02:00
parent 0a189ceeb5
commit 444ea83653
No known key found for this signature in database

View file

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