fix web
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
0a189ceeb5
commit
444ea83653
|
@ -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">
|
||||||
|
|
Reference in a new issue