mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-26 06:40:50 +00:00
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
![]() |
{{template "main-top" .}}
|
||
|
|
||
|
<div class="head">
|
||
|
{{ template "user-profile" . }}
|
||
|
|
||
|
<p>{{t "MFAVerifyU2F.Description"}}</p>
|
||
|
</div>
|
||
|
|
||
|
<form action="{{ mfaInitU2FLoginUrl }}" method="POST">
|
||
|
|
||
|
{{ .CSRF }}
|
||
|
|
||
|
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}"/>
|
||
|
<input type="hidden" name="credentialAssertionData" value="{{ .CredentialCreationData }}"/>
|
||
|
<input type="hidden" name="credentialData"/>
|
||
|
|
||
|
<div id="webauthn">
|
||
|
<p class="wa-no-support error hidden">{{t "WebAuthN.NotSupported"}}</p>
|
||
|
<a id="btn-login" class="button primary wa-support">{{t "Actions.ValidateToken"}}</a>
|
||
|
<div id="wa-error" class="error hidden">
|
||
|
<span class="cause"></span>
|
||
|
<span>{{t "WebAuthN.Error.Retry"}}</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{{ template "error-message" .}}
|
||
|
|
||
|
<div class="actions">
|
||
|
<button class="secondary right wa-support" id="submit-button" type="submit" name="recreate" value="true">{{t "Actions.Recreate"}}</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
<script src="{{ resourceUrl "scripts/base64.js" }}"></script>
|
||
|
<script src="{{ resourceUrl "scripts/webauthn.js" }}"></script>
|
||
|
<script src="{{ resourceUrl "scripts/webauthn_login.js" }}"></script>
|
||
|
|
||
|
{{template "main-bottom" .}}
|