From 9b9751f08ff7ab090775714cfcd4304537050787 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 24 Dec 2020 14:37:07 +0100 Subject: [PATCH] don't put credentials into log --- app/controllers/application_controller.rb | 2 -- 1 file changed, 2 deletions(-) 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?