{# @copyright   Copyright (C) 2010-2021 Combodo SARL #}
{# @license     http://opensource.org/licenses/AGPL-3.0 #}

{% extends "base.html.twig" %}

{% block login_content %}
	<div id="login-content">
		<h1>{{ 'UI:ResetPwd-Title'|dict_s }}</h1>
		{% if bNoUser %}
			<p>{{ 'UI:ResetPwd-Error-WrongLogin'|dict_format(sAuthUser) }}</p>
		{% elseif bBadToken %}
			<p>{{ 'UI:ResetPwd-Error-InvalidToken'|dict_s }}</p>
		{% else %}
			<p>{{ 'UI:ResetPwd-Ready'|dict_s }}</p>
			<p><a href="{{ sUrl }}">{{ 'UI:ResetPwd-Login'|dict_s }}</a></p>
		{% endif %}
	</div>
{% endblock %}
