blob: a197e8ea8174119e636837d32828b1b4d49e363d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{{define "head"}}<title>Login</title>{{end}}
<section>
{{if .Error}}
<p class="login-error">Incorrect password</p>
{{end}}
<form class="password-form" action="/login" method="post">
<input type="hidden" name="csrf-token" value="{{.CSRFToken}}">
<input type="hidden" name="redirect" value="{{.Redirect}}">
<label class="password-label" for="password">Enter password</label>
<input id="password" class="password" type="password" name="password" autofocus>
</form>
</section>
|