2018-08-15 01:12:58 +00:00
|
|
|
{% extends 'auth/master.twig' %}
|
2018-07-21 23:54:12 +00:00
|
|
|
|
|
|
|
{% block content %}
|
2018-09-23 01:32:18 +00:00
|
|
|
<form class="container container--new auth" method="post" action="">
|
|
|
|
<input type="hidden" name="auth[mode]" value="reset">
|
|
|
|
<input type="hidden" name="auth[user]" value="{{ reset_user.user_id }}">
|
|
|
|
<div class="container__title">Resetting password for {{ reset_user.username }}</div>
|
2018-07-21 23:54:12 +00:00
|
|
|
|
2018-09-23 01:32:18 +00:00
|
|
|
<div class="warning auth__warning{% if auth_reset_error is not defined %} auth__warning--welcome{% endif %}">
|
|
|
|
<div class="warning__content">
|
|
|
|
{{ auth_reset_error|default(auth_reset_message|default('')) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-21 23:54:12 +00:00
|
|
|
|
2018-09-23 01:32:18 +00:00
|
|
|
<div class="auth__form">
|
|
|
|
<input type="{{ reset_verify is defined ? 'hidden' : 'text' }}"
|
|
|
|
class="input__text input__text--new input__text--monospace auth__input" type="text"
|
|
|
|
name="auth[verification]" placeholder="verification code" maxlength="12"
|
|
|
|
value="{{ reset_verify|default('') }}" required>
|
2018-07-21 23:54:12 +00:00
|
|
|
|
2018-09-23 01:32:18 +00:00
|
|
|
<input class="input__text input__text--new auth__input" type="password"
|
|
|
|
name="auth[password][new]" placeholder="new password" required>
|
2018-07-21 23:54:12 +00:00
|
|
|
|
2018-09-23 01:32:18 +00:00
|
|
|
<input class="input__text input__text--new auth__input" type="password"
|
|
|
|
name="auth[password][confirm]" placeholder="confirm password" required>
|
2018-07-21 23:54:12 +00:00
|
|
|
|
2018-09-23 01:32:18 +00:00
|
|
|
<button class="input__button input__button--new">Change password</button>
|
2018-07-21 23:54:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|