mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
parent
3738a50762
commit
3d94f67fa3
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Epp::SessionsController < EppController
|
|||
end
|
||||
end
|
||||
|
||||
if !webclient_request && @api_user
|
||||
if !Rails.env.development? && !Rails.env.test? && !webclient_request && @api_user
|
||||
unless @api_user.api_pki_ok?(request.env['HTTP_SSL_CLIENT_CERT'], request.env['HTTP_SSL_CLIENT_S_DN_CN'])
|
||||
epp_errors << {
|
||||
msg: 'Authentication error; server closing connection (certificate is not valid)',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue