Dynamically changing $_user quota settings
Jamroom Developers
The event that returns the $_user variable back into router.php is 'session_started'.
You get the $_SESSION data passed into that listener and whatever you return becomes your $_user.
--edit--
in your modules _init()
jrCore_register_event_listener('jrUser', 'session_started', 'jrYourModule_session_started_listener');
updated by @michael: 11/29/18 11:13:42PM