mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
fixed validate error
This commit is contained in:
parent
11029e83ce
commit
9f2f72b146
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ module Repp
|
|||
end
|
||||
|
||||
def validate_webclient_ca
|
||||
return if webclient_request?
|
||||
return unless webclient_request?
|
||||
|
||||
request_name = request.env['HTTP_SSL_CLIENT_S_DN_CN']
|
||||
webclient_cn = ENV['webclient_cert_common_name'] || 'webclient'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue