Closed cflops closed 9 years ago
It's to your CAS server to handle the feature:
http://url/to/cas/logout?url=returnurl
is called with a returnurl. Your CAS server have to deal with the get "url" parameter
I have the same issue with this package and had to rewrite it to fix it. The problem I had is that it immediately tries to autologin again when it returns from the CAS-servers logout action.
My fix was to change this row in caslogin.php, line 674:
if ($params->get('autologin') && $my->get('id') == $user['id'])
with this:
if ($my->get('id') == $user['id'])
and then simply uncheck the autologin feature for the CAS Server.
I think you should consider splitting the autologin flag into two; autologin and autologout, since they seem to be unrelated features.
That's true
Solve in version 3.0.0-beta1
Is it possible whem I logout on cas server that is returns to my website ? Everything i click logout it really goes out. But I would like it stays or return to my website. This happens with the automatic login feature turned on.