mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-26 16:41:17 +00:00
* add csrf * caching * caching * caching * caching * security headers * csp and security headers * error handler csp * select user with display name * csp * user selection styling * username to loginname * regenerate grpc * regenerate * change to login name
33 lines
1006 B
HTML
33 lines
1006 B
HTML
{{template "main-top" .}}
|
|
|
|
|
|
<h1>{{t "EmailVerification.Title"}}</h1>
|
|
<p>{{t "EmailVerification.Description"}}</p>
|
|
|
|
<form action="{{ mailVerificationUrl }}" method="POST">
|
|
|
|
{{ .CSRF }}
|
|
|
|
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
|
|
<input type="hidden" name="userID" value="{{ .UserID }}" />
|
|
|
|
<div class="fields">
|
|
<div class="field">
|
|
<label class="label" for="code">{{t "EmailVerification.Code"}}</label>
|
|
<input class="input" type="text" id="code" name="code" autocomplete="off" autofocus required>
|
|
</div>
|
|
</div>
|
|
|
|
{{ template "error-message" .}}
|
|
|
|
<div class="actions">
|
|
<button type="submit" name="resend" value="false" class="primary right" >{{t "Actions.Next"}}</buttontype="submit">
|
|
{{ if .UserID }}
|
|
<button type="submit" name="resend" value="true" class="secondary right" formnovalidate>{{t "Actions.Resend"}}</button>
|
|
{{ end }}
|
|
</div>
|
|
</form>
|
|
|
|
|
|
{{template "main-bottom" .}}
|
|
|