mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 11:16:00 +02:00
Don't check cert when in development mode
This commit is contained in:
parent
822b325bc0
commit
7d0fea739b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module Repp
|
|||
end
|
||||
|
||||
before do
|
||||
next if Rails.env.test?
|
||||
next if Rails.env.test? || Rails.env.development?
|
||||
message = 'Certificate mismatch! Cert common name should be:'
|
||||
request_name = env['HTTP_SSL_CLIENT_S_DN_CN']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue