forked from Github-Mirrors/canaille

Previously we used the uid since we supposed this value was always valid, but some users user the mail attribute as the User RDN in their OpenLDAP installation, and do not have a uuid.
19 lines
622 B
HTML
19 lines
622 B
HTML
{% extends theme('base.html') %}
|
|
{% import 'macro/form.html' as fui %}
|
|
|
|
{% block content %}
|
|
<div class="loginform">
|
|
<h3 class="ui top attached header">
|
|
{% if logo_url %}
|
|
<img class="ui image" src="{{ logo_url }}">
|
|
{% endif %}
|
|
<div class="content">
|
|
{% trans %}Password reset{% endtrans %}
|
|
</div>
|
|
</h3>
|
|
|
|
<div class="ui attached clearing segment">
|
|
{{ fui.render_form(form, _("Password reset"), action=url_for("account.reset", identifier=identifier, hash=hash)) }}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|