Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#15043 closed (fixed)

user_logged_in signal should be sent after session changes

Reported by: Rob Hudson Owned by: nobody
Component: contrib.auth Version: 1.3-beta
Severity: 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

Currently the user_logged_in signal is sent before the session is cycled or flushed, making any use of this signal with the intent of getting the logged in user's session key useless.

Attachments (1)

15043.diff (832 bytes ) - added by Rob Hudson 14 years ago.

Download all attachments as: .zip

Change History (5)

by Rob Hudson, 14 years ago

Attachment: 15043.diff added

comment:1 by Rob Hudson, 14 years ago

Has patch: set

comment:2 by Łukasz Rekucki, 14 years ago

Triage Stage: UnreviewedReady for checkin

comment:3 by Jannis Leidel, 14 years ago

Resolution: fixed
Status: newclosed

(In [15168]) Fixed #15043 -- Updated the login function to send the user_logged_in signal after the user's session got recycled instead of before. Thanks, Rob Hudson.

comment:4 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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