mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-27 11:11:23 +00:00
* fix: login flow handling * fix: cancel button * fix: hover in light design * fix: profile image width * fix: profile image width * fix: profile image width
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
{{template "main-top" .}}
|
|
|
|
{{ template "user-profile" . }}
|
|
|
|
<p>{{t "MfaPrompt.Description"}}</p>
|
|
|
|
<form action="{{ mfaPromptUrl }}" method="POST">
|
|
|
|
{{ .CSRF }}
|
|
|
|
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
|
|
|
|
<div class="fields">
|
|
{{ range $provider := .MfaProviders}}
|
|
{{ $providerName := (t (printf "MfaPrompt.Provider%v" $provider)) }}
|
|
<div class="field radio-button">
|
|
<input id="{{ $provider }}" type="radio" name="provider" value="{{ $provider }}">
|
|
<label for="{{ $provider }}">{{ $providerName }}</label>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
<div class="actions">
|
|
<button class="primary right" type="submit">{{t "Actions.Next"}}</button>
|
|
{{if not .MfaRequired}}
|
|
<button class="default right" name="skip" value="true" type="submit" formnovalidate>{{t "Actions.Skip"}}</button>
|
|
{{end}}
|
|
<a href="{{ loginUrl }}">
|
|
<button class="secondary" type="button">{{t "Actions.Cancel"}}</button>
|
|
</a>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
{{template "main-bottom" .}}
|
|
|