Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#12552 closed (fixed)

Adding a user from admin doesn't save password

Reported by: Harro Owned by: nobody
Component: contrib.auth Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When going to the admin site and adding a user the password field will contain: "!"
Then going to the change password form will set the password.

Attachments (1)

12552.diff (744 bytes) - added by Honza Král 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by Luke Plant

Resolution: invalid
Status: newclosed

I'm not sure what this ticket is about exactly. The user admin page works as intended - you can set the 'password' field manually if you want, in the form [algo]$[salt]$[hexdigest] as described on that page, but to actually set a password, the 'change password form' is much more useful.

comment:2 Changed 10 years ago by Jannis Leidel

Actually this is a valid ticket, Django's admin is broken in current trunk due to bug introduced with model-validation and documented in #12521.

comment:3 Changed 10 years ago by Honza Král

Has patch: set
Resolution: invalid
Status: closedreopened

Yes, this is a valid ticket and although caused by #12521 can be resolved without it.

Changed 10 years ago by Honza Král

Attachment: 12552.diff added

comment:4 Changed 10 years ago by jkocherhans

Resolution: fixed
Status: reopenedclosed

(In [12206]) Fixed #12512. Changed ModelForm to stop performing model validation on fields that are not part of the form. Thanks, Honza Kral and Ivan Sagalaev.
This reverts some admin and test changes from [12098] and also fixes #12507, #12520, #12552 and #12553.

comment:11 Changed 8 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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