Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15043 closed (fixed)

user_logged_in signal should be sent after session changes

Reported by: robhudson 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: UI/UX:

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 robhudson 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by robhudson

comment:1 Changed 3 years ago by robhudson

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 3 years ago by lrekucki

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 3 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(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 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.