forked from Github-Mirrors/canaille
updates with new path for templates
This commit is contained in:
parent
85304639fb
commit
6f219b54e8
2 changed files with 4 additions and 10 deletions
|
@ -900,4 +900,4 @@ def reset(user):
|
|||
)
|
||||
)
|
||||
|
||||
return render_template("reset-password.html", form=form, hash=None, user=user)
|
||||
return render_template("core/reset-password.html", form=form, user=user, hash=None)
|
||||
|
|
|
@ -25,15 +25,9 @@ Displays a password reset form.
|
|||
</h3>
|
||||
{% endblock %}
|
||||
|
||||
{% if hash == None %}
|
||||
<div class="ui attached clearing segment">
|
||||
{{ fui.render_form(form, _("Password reset"), action=url_for("core.account.reset", user=user)) }}
|
||||
{{ fui.render_form(form, _("Password reset")) }}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="ui attached clearing segment">
|
||||
{{ fui.render_form(form, _("Password reset"), action=url_for("core.auth.reset", user=user, hash=hash)) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue