You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand correctly this code below means, that rack cas will intercept logout action only on a fixed route. What if I do not want Rack-cas to handle logout, or to handle using another path?
class CASRequest
...
def logout?
@request.path_info == '/logout'
end
class Rack::CAS
...
if cas_request.logout?
log env, 'rack-cas: Intercepting logout request.'
request.session.clear
return redirect_to server.logout_url(request.params).to_s
end
The text was updated successfully, but these errors were encountered:
Well you can always create your own path such as /signout or /log-out and just ignore the one that rack-cas provides.
If you really want to use /logout but have it do something else, then I'd accept a pull request to have an option to change or turn off the logout path.
If I understand correctly this code below means, that rack cas will intercept logout action only on a fixed route. What if I do not want Rack-cas to handle logout, or to handle using another path?
The text was updated successfully, but these errors were encountered: