Opened 2 hours ago
Last modified 2 hours ago
#35782 new Uncategorized
Password validator custom error messages
Reported by: | bcail | Owned by: | |
---|---|---|---|
Component: | Uncategorized | Version: | 5.0 |
Severity: | Normal | Keywords: | |
Cc: | Adam Zapletal | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
We would like to make it easier to customize the error messages raised by password validators.
Instead of having to override whole methods, could we put the error messages on the class as attributes, so we would only have to override that attribute for each class?
See the forum thread for discussion.
Note: ticket 34116 is a related ticket that was closed as wontfix, but it was asking for being able to pass the custom error messages through the settings, which is not what this ticket is suggesting.