Skip to content

Commit

Permalink
don't put credentials into log
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 24, 2020
1 parent 409b7e0 commit 9b9751f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down

0 comments on commit 9b9751f

Please sign in to comment.