mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
asd
This commit is contained in:
parent
b892242764
commit
03a2d2c68d
1 changed files with 5 additions and 0 deletions
|
@ -152,10 +152,15 @@ module Repp
|
|||
|
||||
Rails.logger.info "--------------------------------"
|
||||
Rails.logger.info "Headers: crt=#{crt}, com=#{com}"
|
||||
Rails.logger.info "test"
|
||||
Rails.logger.info "--------------------------------"
|
||||
|
||||
return if @current_user.pki_ok?(crt, com, api: false)
|
||||
|
||||
Rails.logger.info "-------------------------------- FAIL"
|
||||
Rails.logger.info @current_user.pki_ok?(crt, com, api: false)
|
||||
Rails.logger.info "-------------------------------- FAIL"
|
||||
|
||||
render_invalid_cert_response
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue