From 41d5835414082fc6e21f2d668ffd07a34afcf6ec Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 20 Aug 2024 15:22:03 -0500 Subject: Pass GET parameters for correct redirection. --- gn_auth/templates/oauth2/authorise-user.html | 5 ++++- gn_auth/templates/users/forgot-password.html | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'gn_auth/templates') diff --git a/gn_auth/templates/oauth2/authorise-user.html b/gn_auth/templates/oauth2/authorise-user.html index 07edb73..2ef22af 100644 --- a/gn_auth/templates/oauth2/authorise-user.html +++ b/gn_auth/templates/oauth2/authorise-user.html @@ -33,7 +33,10 @@
{%if display_forgot_password%} - Forgot Password {%endif%} diff --git a/gn_auth/templates/users/forgot-password.html b/gn_auth/templates/users/forgot-password.html index 94fcc68..0455c69 100644 --- a/gn_auth/templates/users/forgot-password.html +++ b/gn_auth/templates/users/forgot-password.html @@ -12,7 +12,10 @@
+ action="{{url_for('oauth2.users.forgot_password', + client_id=client_id, + redirect_uri=redirect_uri, + response_type=response_type)}}">
Provide you email below, and we will send you a link you can use to -- cgit v1.2.3