app/controllers/authentications_controller.rb in gds-sso-12.1.0 vs app/controllers/authentications_controller.rb in gds-sso-13.0.0
- old
+ new
@@ -1,9 +1,9 @@
class AuthenticationsController < ActionController::Base
include GDS::SSO::ControllerMethods
- before_filter :authenticate_user!, :only => :callback
- skip_before_filter :require_signin_permission!
+ before_action :authenticate_user!, :only => :callback
+ skip_before_action :require_signin_permission!, raise: false
layout false
def callback
redirect_to session["return_to"] || '/'
end