mirror of
https://github.com/internetee/registry.git
synced 2025-05-30 17:33:57 +02:00
Merge branch 'master' of github.com:domify/registry
This commit is contained in:
commit
3c97eff7ad
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module Repp
|
||||||
before do
|
before do
|
||||||
next if Rails.env.test?
|
next if Rails.env.test?
|
||||||
message = 'Certificate mismatch! Cert common name should be:'
|
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']
|
if request.ip == ENV['webclient_ip']
|
||||||
webclient_cert_name = ENV['webclient_cert_common_name'] || 'webclient'
|
webclient_cert_name = ENV['webclient_cert_common_name'] || 'webclient'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue