Roundcube Community Forum

Release Support => Requests => Topic started by: tealnet on December 30, 2006, 08:43:11 PM

Title: Logout URL
Post by: tealnet on December 30, 2006, 08:43:11 PM
Could we have a line in the config file to specify an alternate URL to be directed to at logout? This would be helpful for us since we use an external login form and we'd like them to be redirected back to that.
Title: Re: Logout URL
Post by: bazzo on September 11, 2007, 07:24:03 AM
Hey!
You can add this in the index.php file 8)

Go to line 172, you will find the line "rcmail_kill_session();"

Add this line: header("Location: http://www.your-url.com");
Quote// end session
else if ($_action=='logout' && isset($_SESSION['user_id']))
 {
 show_message('loggedout');
 rcmail_kill_session();
 header("Location: http://www.your-url.com");
 }
Title: Re: Logout URL
Post by: vanbroup on October 30, 2007, 06:31:49 AM
Should be nice if this can be set in the config file.