2016-04-06 17:56:34 +02:00
|
|
|
<div class='content-wrapper' id='password-reset'>
|
|
|
|
<h1>Password reset</h1>
|
2017-02-17 23:08:37 +01:00
|
|
|
<% if (ctx.canSendMails) { %>
|
|
|
|
<form autocomplete='off'>
|
|
|
|
<ul class='input'>
|
|
|
|
<li>
|
|
|
|
<%= ctx.makeTextInput({
|
|
|
|
text: 'User name or e-mail address',
|
|
|
|
name: 'user-name',
|
|
|
|
required: true,
|
|
|
|
}) %>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-12-22 23:37:30 +01:00
|
|
|
|
2017-02-17 23:08:37 +01:00
|
|
|
<p><small>Proceeding will send an e-mail that contains a password reset
|
|
|
|
link. Clicking it is going to generate a new password for your account.
|
|
|
|
It is recommended to change that password to something else.</small></p>
|
2016-12-22 23:37:30 +01:00
|
|
|
|
2017-02-17 23:08:37 +01:00
|
|
|
<div class='messages'></div>
|
|
|
|
<div class='buttons'>
|
|
|
|
<input type='submit' value='Proceed'/>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<% } else { %>
|
|
|
|
<p>We do not support automatic password resetting.</p>
|
|
|
|
<% if (ctx.contactEmail) { %>
|
|
|
|
<p>Please send an e-mail to <a href='mailto:<%- ctx.contactEmail %>'><%- ctx.contactEmail %></a> to go through a manual procedure.</p>
|
|
|
|
<% } %>
|
|
|
|
<% } %>
|
2016-04-06 17:56:34 +02:00
|
|
|
</div>
|