#35693: Password validators aren't callable
-------------------------------------+-------------------------------------
Reporter: iamkorniichuk | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: contrib.auth | Version: 5.1
Severity: Normal | Resolution:
Keywords: validator,password | Triage Stage:
validator,callable | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by iamkorniichuk):
I think it will be enough to add such a method to
{{{django.contrib.auth.password_validation}}} classes:
{{{
def __call__(self, *args, **kwargs):
return self.validate(*args, **kwargs)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35693#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701916f425194-9979755d-2c03-4296-9d26-cb1bdea225b8-000000%40eu-central-1.amazonses.com.