mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Fixed env in repp
This commit is contained in:
parent
1da36bc0fa
commit
bfd6273520
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module Repp
|
|||
before do
|
||||
next if Rails.env.test?
|
||||
message = 'Certificate mismatch! Cert common name should be:'
|
||||
request_name = ENV['HTTP_SSL_CLIENT_S_DN_CN']
|
||||
request_name = env['HTTP_SSL_CLIENT_S_DN_CN']
|
||||
|
||||
if request.ip == ENV['webclient_ip']
|
||||
webclient_cert_name = ENV['webclient_cert_common_name'] || 'webclient'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue