auth controller needs no pundit

This commit is contained in:
Mark Moser
2016-09-21 15:20:43 -05:00
parent 75a4fbf71a
commit d3205a6080
2 changed files with 6 additions and 2 deletions

View File

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