/users/:id/api_keys: make available to banned users.

`check_privilege` already handles the privilege check here.
This commit is contained in:
evazion
2017-07-07 15:40:08 -05:00
parent 400127c090
commit d092b870ad

View File

@@ -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