mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 01:42: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" %}
|
||||
|
||||
{% 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 %}
|
||||
|
|
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue