about summary refs log tree commit diff
path: root/gn_auth/templates
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/templates')
-rw-r--r--gn_auth/templates/oauth2/authorise-user.html5
-rw-r--r--gn_auth/templates/users/forgot-password.html5
2 files changed, 8 insertions, 2 deletions
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 @@
   <div class="form-group">
     <input type="submit" value="authorise" class="btn btn-primary" />
     {%if display_forgot_password%}
-    <a href="{{url_for('oauth2.users.forgot_password')}}"
+    <a href="{{url_for('oauth2.users.forgot_password',
+             client_id=client.client_id,
+             redirect_uri=redirect_uri,
+             response_type=response_type)}}"
        title="Click here to change your password."
        class="form-text text-danger">Forgot Password</a>
     {%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 @@
 
   <div class="row">
     <form method="POST"
-          action="{{url_for('oauth2.users.forgot_password')}}">
+          action="{{url_for('oauth2.users.forgot_password',
+                  client_id=client_id,
+                  redirect_uri=redirect_uri,
+                  response_type=response_type)}}">
       <div class="form-group">
         <span>
           Provide you email below, and we will send you a link you can use to