mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-27 13:39:17 +00:00
* fix: typo ZITADEL uppercase for OTP Issuer * fix: password validation after change in current user agent * fix: otp validation after setup in current user agent * add waiting * add waiting * show u2f state * regenerate css * add useragentID to webauthn verify * return mfa attribute in mgmt * switch between providers * use preferredLoginName for webauthn display * some fixes * correct translations for login * add some missing event translations * fix usersession test * remove unnecessary cancel button on password change done
44 lines
1.4 KiB
HTML
44 lines
1.4 KiB
HTML
{{template "main-top" .}}
|
|
|
|
<div class="head">
|
|
{{ template "user-profile" . }}
|
|
|
|
<p>{{t "MFAInitU2F.Description"}}</p>
|
|
</div>
|
|
|
|
<form action="{{ mfaInitU2FVerifyUrl }}" method="POST">
|
|
|
|
{{ .CSRF }}
|
|
|
|
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
|
|
<input type="hidden" name="credentialCreationData" value="{{ .CredentialCreationData }}" />
|
|
<input type="hidden" name="credentialData" />
|
|
|
|
<div class="fields">
|
|
<p class="wa-no-support error hidden">{{t "WebAuthN.NotSupported"}}</p>
|
|
<div class="field">
|
|
<label class="label" for="name">{{t "WebAuthN.Name"}}</label>
|
|
<input class="input" type="text" id="name" name="name" autocomplete="off" autofocus>
|
|
</div>
|
|
<a id="btn-register" class="button primary wa-support">{{t "Actions.RegisterToken"}}</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">
|
|
<a class="button secondary" href="{{ mfaPromptChangeUrl .AuthReqID .MFAType }}">
|
|
{{t "Actions.Back"}}
|
|
</a>
|
|
</div>
|
|
</form>
|
|
|
|
<script src="{{ resourceUrl "scripts/base64.js" }}"></script>
|
|
<script src="{{ resourceUrl "scripts/webauthn.js" }}"></script>
|
|
<script src="{{ resourceUrl "scripts/webauthn_register.js" }}"></script>
|
|
|
|
{{template "main-bottom" .}}
|
|
|