mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 17:52:37 +02:00
Merge branch 'master' of github.com:spiral-project/ihatemoney
This commit is contained in:
commit
6ccabd08d1
2 changed files with 5 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>{{ _(title) }}</h2>
|
<h2>{{ _("Password reminder") }}</h2>
|
||||||
<p>
|
<p>
|
||||||
{{message}}
|
{{ _("A link to reset your password has been sent to you, please check your emails.") }}
|
||||||
</p>
|
</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 %}
|
{% endblock %}
|
||||||
|
|
|
@ -284,12 +284,7 @@ def remind_password():
|
||||||
|
|
||||||
@main.route("/password-reminder-sent", methods=["GET"])
|
@main.route("/password-reminder-sent", methods=["GET"])
|
||||||
def password_reminder_sent():
|
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")
|
||||||
return render_template(
|
|
||||||
"password_reminder_sent.html",
|
|
||||||
title="Password reminder",
|
|
||||||
message=message
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@main.route('/reset-password', methods=['GET', 'POST'])
|
@main.route('/reset-password', methods=['GET', 'POST'])
|
||||||
|
|
Loading…
Reference in a new issue