mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Add debuggin
This commit is contained in:
parent
ec3a2cbc1f
commit
89ad553c7a
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ class Registrar::SessionsController < Devise::SessionsController
|
|||
end
|
||||
|
||||
if @depp_user.pki
|
||||
logger.error request.env['HTTP_SSL_CLIENT_CERT']
|
||||
unless @api_user.registrar_pki_ok?(request.env['HTTP_SSL_CLIENT_CERT'])
|
||||
@depp_user.errors.add(:base, :invalid_cert)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue