implemented resetting passwords
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
33
static/templates/new_password_form.st
Normal file
33
static/templates/new_password_form.st
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
«head()»
|
||||
«userinfo()»
|
||||
|
||||
<body id="login">
|
||||
«navigation()»
|
||||
«messages()»
|
||||
<h1>Set new account password</h1>
|
||||
<form method="POST">
|
||||
<fieldset>
|
||||
|
||||
Dear «if(data.user.name)»«data.user.name»«else»«data.user.email»«endif», you may now set a new password for your account «data.email»:
|
||||
<legend>Login credentials</legend>
|
||||
<label>
|
||||
<input enabled="false" value="«data.user.email»" />
|
||||
Email address
|
||||
</label>
|
||||
<label>
|
||||
<input type="password" name="password" value="" id="password" />
|
||||
Password
|
||||
</label>
|
||||
<label>
|
||||
<input type="password" name="password-repeat" value="" id="password-repeat" />
|
||||
Password (repeat)
|
||||
</label>
|
||||
<input type="hidden" name="token" value="«data.token»" />
|
||||
<button type="submit">Save new password</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
<a href="reset-pw">Forgot password?</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user