websauna.system.auth.subscribers module

Handle incoming user events.

websauna.system.auth.subscribers.user_auth_details_changes(event)[source]

Default logic how to invalidate sessions on user auth detail changes.

If you are using different session management model you can install a custom handle.

Parameters

event (UserAuthSensitiveOperation) – Incoming event instance