aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn_auth/auth/authorisation/users/views.py3
-rw-r--r--gn_auth/templates/users/forgot-password-token-send-success.html7
2 files changed, 6 insertions, 4 deletions
diff --git a/gn_auth/auth/authorisation/users/views.py b/gn_auth/auth/authorisation/users/views.py
index ba74ab0..4cd498c 100644
--- a/gn_auth/auth/authorisation/users/views.py
+++ b/gn_auth/auth/authorisation/users/views.py
@@ -448,7 +448,8 @@ def forgot_password():
request.args["client_id"],
request.args["redirect_uri"],
request.args["response_type"])
- return render_template("users/forgot-password-token-send-success.html")
+ return render_template("users/forgot-password-token-send-success.html",
+ email=form["email"])
@users.route("/change-password/<forgot_password_token>", methods=["GET", "POST"])
diff --git a/gn_auth/templates/users/forgot-password-token-send-success.html b/gn_auth/templates/users/forgot-password-token-send-success.html
index ab8a741..8782e8c 100644
--- a/gn_auth/templates/users/forgot-password-token-send-success.html
+++ b/gn_auth/templates/users/forgot-password-token-send-success.html
@@ -11,9 +11,10 @@
<div class="row"><h1>Forgot Password</h1></div>
<div class="row">
- <p>
- We have sent an email to '{{email}}'. Please log in to your email and
- click the URL to change your password.
+ <p class="text-info"
+ style="font-size:1.5em;text-align:center;margin-top:2em;">
+ We have sent an email to '<strong>{{email}}</strong>'. Please use the link
+ in the email we sent to change your password.
</p>
</div>