I do a google search on logout redirect or do a search here for logout redirect and everything seems to talk about stuff that is out of date. A lot of links to a roundcube plugin site just return with 404 errors. Soneone says something about plugins/logout_redirect but I don't have that plugin. I am running the 1.6 beta software... so maybe that's an issue... I just started re-looking at round cube.. haven't played with it in a few years.
Anyway.. with the latest 1.6beta code... what' the proper way to handle a redirect to a different page when the user logs out?
I found the code:
$RCMAIL->output->show_message('loggedout');
$RCMAIL->logout_actions();
$RCMAIL->kill_session();
$RCMAIL->plugins->exec_hook('logout_after', $userdata);
and altered that so I can do my redirect... but i'd like to find an official way and not hack in the code i need.
Thanks - jack
Use the logout_redirect plugin https://github.com/marneu/logout_redirect