mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 11:52:11 +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
35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
HTML
{{template "main-top" .}}
|
|
|
|
|
|
<h1>{{t "Password.Title"}}</h1>
|
|
|
|
<form action="{{ passwordUrl }}" method="POST">
|
|
|
|
{{ .CSRF }}
|
|
|
|
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
|
|
<input type="hidden" name="loginName" value="{{ .LoginName }}" />
|
|
|
|
<div class="fields">
|
|
<div class="field">
|
|
<label class="label" for="password">{{t "Password.Password"}}</label>
|
|
<input class="input" type="password" id="password" name="password" autocomplete="current-password" autofocus required>
|
|
</div>
|
|
</div>
|
|
|
|
{{template "error-message" .}}
|
|
|
|
<div class="actions">
|
|
<button class="primary right" type="submit">{{t "Actions.Next"}}</button>
|
|
<a href="{{ loginNameChangeUrl .AuthReqID }}">
|
|
<button class="secondary" type="button">{{t "Actions.Back"}}</button>
|
|
</a>
|
|
<a href="{{ passwordResetUrl .AuthReqID }}">
|
|
<button class="secondary" type="button">{{t "Actions.ForgotPassword"}}</button>
|
|
</a>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
{{template "main-bottom" .}}
|
|
|