Moodle logout behavior --- disable redirect to Joomla

More
11 years 7 months ago #1 by IfAS
Hi Antonio,

when a user, who is authenticated via Joomdle, logs out from Moodle, he is redirected to Joomla. Is this a correct behavior?

Is there a way to disable this redirection. I have already played around with the options "redirectless logout", but nothing really worked.

Thank for your support.

regards

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Moodle logout behavior --- disable redirect to Joomla
Yes, this is expected behaviour, although I guess we could add an option to enable/disable it.

If you want to disable it now, you'll need to edit moodle/auth/joomdle/auth.php, function logoutpage_hook, and remove this line;
$redirect = get_config (NULL, 'joomla_url').'/components/com_joomdle/views/wrapper/getout.php';

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #3 by IfAS
Many thanks

Please Log in or Create an account to join the conversation.