This commit is contained in:
Ross
2022-06-09 17:54:33 +01:00
parent 48e4e420c9
commit 8c10e2160a
5 changed files with 55 additions and 1 deletions
@@ -0,0 +1,22 @@
<!-- templates/registration/password_reset_confirm.html -->
{% extends "base.html" %}
{% block title %}Enter new password{% endblock %}
{% block content %}
{% if validlink %}
<h1>Set a new password!</h1>
<form method="POST">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Change my password">
</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 %}