Opened 8 years ago

Last modified 8 years ago

#26133 closed Uncategorized

AbstractBaseUser missing password validaton — at Initial Version

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

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.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top