diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-06-25 18:18:20 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-06-25 18:18:20 +0200 |
commit | 4bbe761215dbe989e8b2efc3823740416f403e71 (patch) | |
tree | 11f6f8c419516f196c525e25e11ec8ca4f086c42 /templates/registration/password_reset_confirm.html | |
parent | Nicer user list, multi group support (diff) | |
download | scout-subs-4bbe761215dbe989e8b2efc3823740416f403e71.tar.gz scout-subs-4bbe761215dbe989e8b2efc3823740416f403e71.zip |
reset password and decorators for login check
Diffstat (limited to 'templates/registration/password_reset_confirm.html')
-rw-r--r-- | templates/registration/password_reset_confirm.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/registration/password_reset_confirm.html b/templates/registration/password_reset_confirm.html new file mode 100644 index 0000000..6838eb8 --- /dev/null +++ b/templates/registration/password_reset_confirm.html @@ -0,0 +1,17 @@ +{% extends 'registration/base_simple.html' %} + +{% block content %} + {% if validlink %} + <h3>Change password</h3> + <form method="post"> + {% csrf_token %} + {{ form.as_p }} + <button type="submit">Change password</button> + </form> + {% else %} + <p> + The password reset link was invalid, possibly because it has already been used. + Please request a new password reset. + </p> + {% endif %} +{% endblock %}
\ No newline at end of file |