mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-27 11:11:23 +00:00
* profile data * fix scripts * fix image paths * feat: show profile (with image) when possible * fix profile image width
33 lines
986 B
HTML
33 lines
986 B
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}}
|
|
</div>
|
|
</form>
|
|
|
|
|
|
{{template "main-bottom" .}}
|
|
|