Merge branch 'master' of github.com:spiral-project/ihatemoney

This commit is contained in:
Alexis M 2019-09-18 21:33:47 +02:00
commit 6ccabd08d1
2 changed files with 5 additions and 10 deletions

View file

@ -1,10 +1,10 @@
{% extends "layout.html" %}
{% block content %}
<h2>{{ _(title) }}</h2>
<h2>{{ _("Password reminder") }}</h2>
<p>
{{message}}
{{ _("A link to reset your password has been sent to you, please check your emails.") }}
</p>
<a class="btn btn-primary" href="{{ url_for('.home')}}">Return to home page</a>
<a class="btn btn-primary" href="{{ url_for('.home')}}">{{ _('Return to home page') }}</a>
{% endblock %}

View file

@ -284,12 +284,7 @@ def remind_password():
@main.route("/password-reminder-sent", methods=["GET"])
def password_reminder_sent():
message = "A link to reset your password has been sent to you, please check your emails."
return render_template(
"password_reminder_sent.html",
title="Password reminder",
message=message
)
return render_template("password_reminder_sent.html")
@main.route('/reset-password', methods=['GET', 'POST'])