app/controllers/authentications_controller.rb in gds-sso-15.0.0 vs app/controllers/authentications_controller.rb in gds-sso-15.0.1

- old
+ new

@@ -1,17 +1,15 @@ class AuthenticationsController < ActionController::Base include GDS::SSO::ControllerMethods - before_action :authenticate_user!, :only => :callback + before_action :authenticate_user!, only: :callback layout false def callback - redirect_to session["return_to"] || '/' + redirect_to session["return_to"] || "/" end - def failure - - end + def failure; end def sign_out logout redirect_to GDS::SSO::Config.oauth_root_url + "/users/sign_out" end