Opened 7 years ago

Closed 7 years ago

#18666 closed Cleanup/optimization (fixed)

When updating a user's password on login, only save the password field

Reported by: Alex Gaynor Owned by: nobody
Component: contrib.auth Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


At the moment we save every single field on the user object. There's no need to save anything except the password.

Attachments (1)

t18666-auth-save.diff (500 bytes) - added by Alex Gaynor 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Alex Gaynor

Attachment: t18666-auth-save.diff added

comment:1 Changed 7 years ago by Jannis Leidel

Triage Stage: AcceptedReady for checkin

comment:2 Changed 7 years ago by Alex Gaynor <alex.gaynor@…>

Resolution: fixed
Status: newclosed

In [ace9ccfe9f6b987861404fdf08d22a5663953713]:

Fixed #18666 -- when upgrading a user's password to a new algorithm only save the password field to the databaes.

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