~gitpocket/gitpocket

4
e69795108fe9b7b54fc7bbabb7431a6e66bdec1d
mainfeed-discovery
gitpocket/web/templates/reset.tmpl -rw-r--r--779 bytes ViewLogBlameView rawPermalink 34c1e1bf5b feat(search): detect languages with go-enry and gitattributes overrides 7 hours ago
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{{define "content"}}
<div class="auth">
<h3 class="rule">Reset your password <small>or <a href="/login">log in</a></small></h3>
{{if .Data.Sent}}<p class="notice">If that account has a verified email address, a reset link is on its way. It is valid for 24 hours.</p>{{end}}
{{if .Data.Mail}}
<p>Enter your username or verified email address and a link to choose a new password will be sent.</p>
<form method="post" action="/reset" class="stack centred">
<label>Username or email <input name="who" required autofocus></label>
<div class="actions"><button class="btn primary">Send reset link ▸</button></div>
</form>
{{else}}<p>This server has no outgoing mail configured, so passwords are reset by the administrator with <code>gitpocket passwd</code>.</p>{{end}}
</div>
{{end}}