Affected page(s)
Documentation says, event fires AFTER logout.
But user us still logged in.
And in new plugin, if code fires other events - plugins, this code
will still work $user = $modx->getUser();
What needs to be improved?
Log out the user from modx, then fire event.
Affected page(s)
Documentation says, event fires AFTER logout.
But user us still logged in.
And in new plugin, if code fires other events - plugins, this code
will still work $user = $modx->getUser();
What needs to be improved?
Log out the user from modx, then fire event.