diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 9fcfeec53..d20c676fa 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -77,8 +77,6 @@ def authenticate_user! raise JWT::VerificationError end - puts credentials - @current_user = User.new(credentials, type: type) fail CanCan::AuthorizationNotPerformed if @current_user.errors.present?