Description
The USER_SESSION_DELETED event is now fired in certain occasions, such as when running the background task that removes expired sessions.
Issue #44564 aims to ensure the event is fired in all places where the user session is destroyed. Once that is complete, we can add support for workflows that activate when a user session is deleted. The event, combined with a condition that checks if the user has no other active sessions, can be used as a replacement for the transient users feature, in which a workflow would be able to delete (or schedule deletion) of users when the last active session is destroyed.