Opened 12 years ago

Closed 12 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

Description

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 12 years ago.

Download all attachments as: .zip

Change History (3)

by Alex Gaynor, 12 years ago

Attachment: t18666-auth-save.diff added

comment:1 by Jannis Leidel, 12 years ago

Triage Stage: AcceptedReady for checkin

comment:2 by Alex Gaynor <alex.gaynor@…>, 12 years ago

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