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
30 lines
883 B
HTML
30 lines
883 B
HTML
|
|
{{template "main-top" .}}
|
|
|
|
<h1>{{t "Login.Title"}}</h1>
|
|
<p>{{t "Login.Description"}}</p>
|
|
|
|
<form action="{{ loginNameUrl }}" method="POST">
|
|
|
|
{{ .CSRF }}
|
|
|
|
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
|
|
|
|
<div class="fields">
|
|
<div class="field">
|
|
<label class="label" for="loginName">{{t "Login.Loginname"}}</label>
|
|
<input class="input" type="text" id="loginName" name="loginName" placeholder="{{t "Login.LoginnamePlaceHolder"}}" value="{{ .LoginName }}" autocomplete="username" autofocus required>
|
|
</div>
|
|
</div>
|
|
|
|
{{template "error-message" .}}
|
|
|
|
<div class="actions">
|
|
<button class="primary right" type="submit">{{t "Actions.Next"}}</button>
|
|
<a class="default right" href="{{ registerUrl .AuthReqID }}" >{{t "Actions.Register"}}</a>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
{{template "main-bottom" .}}
|
|
|