diff options
author | Frederick Muriuki Muriithi | 2024-08-19 17:01:03 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-08-19 17:01:03 -0500 |
commit | 1c2db3df6d8417cb927e0b47774dcdd6397f5469 (patch) | |
tree | 89cdc187e01d3c426db7323e288dddd7fc4c3a58 /gn_auth/templates/users/forgot-password.html | |
parent | e686d9be8b4d78bcc7348323f0ddc45f5548178d (diff) | |
download | gn-auth-1c2db3df6d8417cb927e0b47774dcdd6397f5469.tar.gz |
Generate token and send out "Forgot Password" email
* Generate token to use for verifying the password-change request
* Send out email with token
Diffstat (limited to 'gn_auth/templates/users/forgot-password.html')
-rw-r--r-- | gn_auth/templates/users/forgot-password.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gn_auth/templates/users/forgot-password.html b/gn_auth/templates/users/forgot-password.html new file mode 100644 index 0000000..94fcc68 --- /dev/null +++ b/gn_auth/templates/users/forgot-password.html @@ -0,0 +1,35 @@ +{%extends "base.html"%} + +{%block title%}gn-auth: Forgot Password{%endblock%} + +{%block pagetitle%}Forgot Password{%endblock%} + +{%block content%} +{{flash_messages()}} + +<div class="container-fluid"> + <div class="row"><h1>Forgot Password</h1></div> + + <div class="row"> + <form method="POST" + action="{{url_for('oauth2.users.forgot_password')}}"> + <div class="form-group"> + <span> + Provide you email below, and we will send you a link you can use to + change your password. + </span> + </div> + + <div class="form-group"> + <label for="txt-email" class="form-label">Email</label> + <input type="email" name="email" id="txt-email" class="form-control" /> + </div> + + <div class="form-group"> + <input type="submit" class="btn btn-primary" value="Send Link" /> + </div> + </form> + </div> + +</div> +{%endblock%} |