web/flows: fix lint errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
c28d75754d
commit
ea63d384fd
|
@ -160,29 +160,32 @@ export class AuthenticatorValidateStage
|
||||||
case DeviceClassesEnum.Static:
|
case DeviceClassesEnum.Static:
|
||||||
case DeviceClassesEnum.Totp:
|
case DeviceClassesEnum.Totp:
|
||||||
case DeviceClassesEnum.Sms:
|
case DeviceClassesEnum.Sms:
|
||||||
return html`<ak-stage-authenticator-validate-code
|
return html`<!-- @ts-ignore -->
|
||||||
.host=${this}
|
<ak-stage-authenticator-validate-code
|
||||||
.challenge=${this.challenge}
|
.host=${this}
|
||||||
.deviceChallenge=${this.selectedDeviceChallenge}
|
.challenge=${this.challenge}
|
||||||
.showBackButton=${(this.challenge?.deviceChallenges.length || []) > 1}
|
.deviceChallenge=${this.selectedDeviceChallenge}
|
||||||
>
|
.showBackButton=${(this.challenge?.deviceChallenges.length || []) > 1}
|
||||||
</ak-stage-authenticator-validate-code>`;
|
>
|
||||||
|
</ak-stage-authenticator-validate-code>`;
|
||||||
case DeviceClassesEnum.Webauthn:
|
case DeviceClassesEnum.Webauthn:
|
||||||
return html`<ak-stage-authenticator-validate-webauthn
|
return html`<!-- @ts-ignore -->
|
||||||
.host=${this}
|
<ak-stage-authenticator-validate-webauthn
|
||||||
.challenge=${this.challenge}
|
.host=${this}
|
||||||
.deviceChallenge=${this.selectedDeviceChallenge}
|
.challenge=${this.challenge}
|
||||||
.showBackButton=${(this.challenge?.deviceChallenges.length || []) > 1}
|
.deviceChallenge=${this.selectedDeviceChallenge}
|
||||||
>
|
.showBackButton=${(this.challenge?.deviceChallenges.length || []) > 1}
|
||||||
</ak-stage-authenticator-validate-webauthn>`;
|
>
|
||||||
|
</ak-stage-authenticator-validate-webauthn>`;
|
||||||
case DeviceClassesEnum.Duo:
|
case DeviceClassesEnum.Duo:
|
||||||
return html`<ak-stage-authenticator-validate-duo
|
return html`<!-- @ts-ignore -->
|
||||||
.host=${this}
|
<ak-stage-authenticator-validate-duo
|
||||||
.challenge=${this.challenge}
|
.host=${this}
|
||||||
.deviceChallenge=${this.selectedDeviceChallenge}
|
.challenge=${this.challenge}
|
||||||
.showBackButton=${(this.challenge?.deviceChallenges.length || []) > 1}
|
.deviceChallenge=${this.selectedDeviceChallenge}
|
||||||
>
|
.showBackButton=${(this.challenge?.deviceChallenges.length || []) > 1}
|
||||||
</ak-stage-authenticator-validate-duo>`;
|
>
|
||||||
|
</ak-stage-authenticator-validate-duo>`;
|
||||||
}
|
}
|
||||||
return html``;
|
return html``;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue