Opened 3 years ago
Closed 3 years ago
#33687 closed New feature (wontfix)
Add option to set unusable password to changepassword
Reported by: | Vlastimil Zíma | Owned by: | nobody |
---|---|---|---|
Component: | contrib.auth | Version: | dev |
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
I just found out, there is no way to set unusable password for a user using a command changepassword
. It's sometimes needed to disable password authentication, e.g. for robot accounts which use third party authentication systems and similar cases. I suggest to add an option, e.g. --set-unusable-password
to the changepassword
command which would allow this.
Note:
See TracTickets
for help on using tickets.
Thanks for this ticket, however the
changepassword
command was never intended to cover all available options. You can create a custom command in your project or use a small standalone script instead: