app/controllers/authentications_controller.rb in gds-sso-9.1.2 vs app/controllers/authentications_controller.rb in gds-sso-9.2.0
- old
+ new
@@ -12,11 +12,9 @@
def failure
end
def sign_out
- cookie_key = Rails.application.config.session_options[:key]
- cookies.delete(cookie_key)
- reset_session
+ logout
redirect_to GDS::SSO::Config.oauth_root_url + "/users/sign_out"
end
end