blob: 9025f2eb0cf41cb716064ac533ad65eb591d2962 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{{define "title"}}Forgotten password - {{.Site}}{{end}}
{{define "main"}}
<h2>Forgotten password</h2>
{{if .MailOff}}
<div class="error">
Mail is turned off on this instance, so no link can be sent. Ask an admin for
a one time link.
</div>
{{end}}
<p>
This mails a one time link to the address on file for the account. The answer
below is the same whether or not the account exists, so that this page cannot
be used to find out which names are taken.
</p>
<form method="post" action="/reset">
<input type="hidden" name="csrf" value="{{.CSRF}}">
<p>
<label for="name">Account name</label>
<input id="name" name="name" autocomplete="username" autocapitalize="none" required>
</p>
<p><button type="submit">Send the link</button></p>
</form>
{{end}}
|