updates with new path for templates

This commit is contained in:
sebastien 2024-12-19 12:25:38 +01:00
parent 85304639fb
commit 6f219b54e8
2 changed files with 4 additions and 10 deletions

View file

@ -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)

View file

@ -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)) }}
</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 class="ui attached clearing segment">
{{ fui.render_form(form, _("Password reset")) }}
</div>
</div>
{% endblock %}