#26909: UserAttributeSimilarityValidator has hardcoded reference to 'username'
causing error in password reset built-in auth form when using a custom
model
------------------------------+--------------------------------------
Reporter: kierenpitts | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Comment (by timgraham):
In your case, do you want the `username` property to be taken account for
this validator? If so, then feel free to submit a patch to fix the crash.
If not, then you should pass some custom `user_attributes` to the
validator and I think we could close this and reopen if someone has the
use case of validating similarity to properties.
--
Ticket URL: <https://code.djangoproject.com/ticket/26909#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.ef451369df6e54223999b031c16e29d6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.