mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-11 01:48:32 +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
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{{template "main-top" .}}
|
|
|
|
<div class="head">
|
|
{{ template "user-profile" . }}
|
|
|
|
<p>{{t "Passwordless.Description"}}</p>
|
|
</div>
|
|
|
|
<form action="{{ passwordLessVerificationUrl }}" 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">
|
|
<a href="{{ loginNameChangeUrl .AuthReqID }}">
|
|
<button class="secondary" type="button">{{t "Actions.Back"}}</button>
|
|
</a>
|
|
</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" .}}
|