From 99b8650ccb649e249340ef6fc3884d378ca4d9ac Mon Sep 17 00:00:00 2001 From: oleghasjanov Date: Wed, 12 Mar 2025 13:36:17 +0200 Subject: [PATCH] added currect user as log --- app/controllers/repp/v1/base_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/repp/v1/base_controller.rb b/app/controllers/repp/v1/base_controller.rb index f36a6e0a4..e19fd32db 100644 --- a/app/controllers/repp/v1/base_controller.rb +++ b/app/controllers/repp/v1/base_controller.rb @@ -153,6 +153,7 @@ module Repp Rails.logger.info "--------------------------------" Rails.logger.info "Headers: crt=#{crt}, com=#{com}" Rails.logger.info "test" + Rails.logger.info "#{@current_user.inspect}" Rails.logger.info "--------------------------------" return if @current_user.pki_ok?(crt, com, api: false)