forked from Therapoid/django-password-policies
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
On a site with the messages framework context processor enabled this is getting passed after a user resets their password:
The enforced password change “PasswordChangeRequired object (7)” was added successfully. You may edit it again below.
This is from the template:
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}It should probably just say something like "Password successfully reset" - the link to change it is expired/not valid as the object is deleted. Adding a sensible __str__() method to the PasswordChangeRequired model would also be a good idea.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels