#33696: Add a fail fast option to validate_password
------------------------------------------------+------------------------
Reporter: Parth Verma | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.auth | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Right now, the `validate_password` function runs all the validators in the
list. However, while implementing something like a validator to prevent
password reuse, we might want the user to resolve all the other validation
errors before running an expensive DB operation. Adding a fail fast option
might be helpful here as it will allow to resolve validation errors as
they appear rather than running all the validators again everytime.
--
Ticket URL: <https://code.djangoproject.com/ticket/33696>
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/01070180b194b6b5-e796d62c-19b1-4a8f-a0aa-f2eedbcd5900-000000%40eu-central-1.amazonses.com.