Opened 9 years ago
Last modified 9 years ago
#26133 closed Uncategorized
AbstractBaseUser missing password validaton — at Version 1
Reported by: | Fernando Miranda | Owned by: | nobody |
---|---|---|---|
Component: | contrib.auth | Version: | 1.9 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Using the new password validation framework, it looks like AbstractBaseUser
does not call password validators defined in settings.py
:
# django.contrib.auth.models.py class AbstractBaseUser(models.Model): password = models.CharField(_('password'), max_length=128) ...
I'd expect something like this in the above line:
class AbstractBaseUser(models.Model): password = models.CharField(_('password'), max_length=128, validators=validators_list())
This issue is related to #25052, but I'm not sure.
Note:
See TracTickets
for help on using tickets.