mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 07:26:22 +02:00
added logs
This commit is contained in:
parent
fe90d787c2
commit
4d33898856
2 changed files with 11 additions and 0 deletions
|
@ -150,6 +150,11 @@ module Repp
|
|||
crt = request.headers['User-Certificate']
|
||||
com = request.headers['User-Certificate-CN']
|
||||
|
||||
Rails.logger.info '============== crts =============='
|
||||
Rails.logger.info crt
|
||||
Rails.logger.info com
|
||||
Rails.logger.info '============== crts =============='
|
||||
|
||||
return if @current_user.pki_ok?(crt, com, api: false)
|
||||
|
||||
render_invalid_cert_response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue