From d092b870ad705fcbd088d618a3fc3e9736daad0d Mon Sep 17 00:00:00 2001 From: evazion Date: Fri, 7 Jul 2017 15:40:08 -0500 Subject: [PATCH] /users/:id/api_keys: make available to banned users. `check_privilege` already handles the privilege check here. --- app/controllers/maintenance/user/api_keys_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/maintenance/user/api_keys_controller.rb b/app/controllers/maintenance/user/api_keys_controller.rb index 8f4844be4..e29330524 100644 --- a/app/controllers/maintenance/user/api_keys_controller.rb +++ b/app/controllers/maintenance/user/api_keys_controller.rb @@ -1,7 +1,6 @@ module Maintenance module User class ApiKeysController < ApplicationController - before_filter :member_only before_filter :check_privilege before_filter :authenticate!, :except => [:show] rescue_from ::SessionLoader::AuthenticationFailure, :with => :authentication_failed