From 4bbe761215dbe989e8b2efc3823740416f403e71 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Thu, 25 Jun 2020 18:18:20 +0200 Subject: reset password and decorators for login check --- templates/registration/password_reset_confirm.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/registration/password_reset_confirm.html (limited to 'templates/registration/password_reset_confirm.html') 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 %} +

Change password

+
+ {% csrf_token %} + {{ form.as_p }} + +
+ {% else %} +

+ The password reset link was invalid, possibly because it has already been used. + Please request a new password reset. +

+ {% endif %} +{% endblock %} \ No newline at end of file -- cgit v1.2.1