The event "login_box_redirect" allows changing the redirection after succesfull login.
I've been studying the code in functions.php and in session.php and it's not clear to me whether the session table has been updated already before the event is called.
In sessions table there is a row for every connected guest. When that guest logs in, he becomes a member with a specific user_id and it's not clear to me exactly when that row is updated (the _sid being the identifier) to reflect the member's user_id.
Anyone who can shed light on this?
Thanks in advance.
Last edited by warmweer
on Fri Dec 15, 2017 8:46 am, edited 2 times in total.
A bug is a feature that hasn't made it to the manual (yet)