aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/users/views.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-21 04:52:00 -0500
committerFrederick Muriuki Muriithi2024-08-21 04:52:00 -0500
commit498cd005f23d5e7942a5b7aa40ed8e42c64883bc (patch)
tree2bc5aaec5dbcc0baaf930a21a44c7921ec8f82ba /gn_auth/auth/authorisation/users/views.py
parentdf2b0262f2678f642729ed1e5066744246b53b19 (diff)
downloadgn-auth-498cd005f23d5e7942a5b7aa40ed8e42c64883bc.tar.gz
Provide email and improve UI text/notification.
Diffstat (limited to 'gn_auth/auth/authorisation/users/views.py')
-rw-r--r--gn_auth/auth/authorisation/users/views.py3
1 files changed, 2 insertions, 1 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"])