Save the session to the database immediately after the user login

Components

Labels

Description

TODO:

Save the session to the database immediately after the user login.

Motivation:

During logout, the session is destroyed immediately without waiting for new page content to be sent to the Web Browser. The same approach with login flow would ensure the session is present in the database (for any code, that needs it) even before the new page content is sent to the Web Browser. In particular, the "u:OnAfterLogin" event would benefit from this.

Context Information

None

Additional information (do not use)

None

Activity

[API] Administrator July 29, 2024 at 10:55 AM

User committed a fix to 5.2.x. Commit Message:

Fixes https://in-portal.atlassian.net/browse/INP-1870#icft=INP-1870 - Save the session to the database immediately after the user login

Differential Revision: http://qa.in-portal.org/D476

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Changed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

1h 44m logged

Story Points

Fix versions

Created July 29, 2024 at 8:03 AM
Updated December 29, 2024 at 8:47 PM
Resolved July 29, 2024 at 10:55 AM