auth controller needs no pundit
This commit is contained in:
@ -3,6 +3,10 @@ module Admin
|
||||
class AuthController < AdminController
|
||||
skip_before_action :authorize_user
|
||||
|
||||
# bypass pundit lockdowns for auth requests.
|
||||
after_action :skip_policy_scope
|
||||
after_action :skip_authorization
|
||||
|
||||
def login
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user