- Posts: 13
Moodle logout behavior --- disable redirect to Joomla
- IfAS
- Topic Author
- Offline
- New Member
-
Less
More
11 years 7 months ago #1
by IfAS
Moodle logout behavior --- disable redirect to Joomla was created 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
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.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
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';
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.
- IfAS
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 13
11 years 7 months ago #3
by IfAS
Replied by IfAS on topic Moodle logout behavior --- disable redirect to Joomla
Many thanks
Please Log in or Create an account to join the conversation.