ID: c99c069e0f1d299d6bc2c682bd42fd314d8a9c7c
59 lines
—
1K —
View raw
| {% include 'header.twig' %}
<div class="login">
{% if feedback %}
<div class="feedback">
{{ feedback }}
</div>
{% endif %}
{% if token_sent is defined %}
Reset code sent. Check your email.
{% elseif token is defined %}
<h3>Reset password</h3>
<p style="margin: 1em 0 2em 0;">
Insert your new password below. It must be at least 8 characters long.
</p>
<form action="" method="post">
<input type="hidden" name="token" value="{{ token }}" />
<div>
<input type="password" name="password" class="form-control" />
</div>
<div>
<input type="submit" name="validate" class="btn btn-primary" value="Update new password" />
</div>
</form>
{% else %}
<h3>Reset password</h3>
<p style="margin: 1em 0 2em 0;">
Please insert your <strong>username</strong>. You will receive an email to reset your password.
</p>
<form action="" method="post">
<div>
<input type="text" name="username" class="form-control" />
</div>
<div>
<input type="submit" name="reset" class="btn btn-primary" value="Login" />
</div>
</form>
{% endif %}
</div>
{% include 'footer.twig' %}
|