Skip to content

Commit

Permalink
Update filter.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
amin19948 committed Aug 10, 2023
1 parent 45402ca commit ba46c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/casclient/frameworks/rails/filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def self.logout(controller, service = nil)
referer = service || controller.request.referer
st = controller.session[:cas_last_valid_ticket]
controller.send(:reset_session)
controller.send(:redirect_to, client.logout_url(referer))
controller.send(:redirect_to, client.logout_url(referer), allow_other_host: true)
end

def self.redirect_to_cas_for_authentication(controller)
Expand Down

0 comments on commit ba46c55

Please sign in to comment.