Continue reset form on bad entry

This commit is contained in:
Pierre-Olivier Mercier
2018-12-31 01:00:11 +01:00
parent 7226e9f1e2
commit f819320f5a
2 changed files with 21 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
{{template "header"}}
<h1 class="display-4">Forgot your password? <small class="text-muted">Define a new one!</small></h1>
<form method="post" action="reset">
<form method="post" action="reset?l={{ .login }}&t={{ .token }}">
{{if .error}}<div class="alert alert-danger" role="alert">{{.error}}</div>{{end}}
<div class="form-group">
<input required="" class="form-control" id="input_0" type="text" placeholder="Email" value="{{ .login }}" disabled="">