/users/:id/api_keys: make available to banned users.
`check_privilege` already handles the privilege check here.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user