app/controllers/api/user_controller.rb in gds-sso-12.1.0 vs app/controllers/api/user_controller.rb in gds-sso-13.0.0

- old
+ new

@@ -1,10 +1,10 @@ class Api::UserController < ActionController::Base include GDS::SSO::ControllerMethods - skip_before_filter :verify_authenticity_token - before_filter :authenticate_user! - before_filter :require_user_update_permission + skip_before_action :verify_authenticity_token, raise: false + before_action :authenticate_user! + before_action :require_user_update_permission def update user_json = JSON.parse(request.body.read)['user'] oauth_hash = build_gds_oauth_hash(user_json) GDS::SSO::Config.user_klass.find_for_gds_oauth(oauth_hash)