mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Merge pull request #2265 from internetee/2251-bulk-renew-fails-in-prod-registrar-portal
bulk action error
This commit is contained in:
commit
da6041495c
1 changed files with 0 additions and 3 deletions
|
@ -116,9 +116,6 @@ module Repp
|
||||||
def webclient_request?
|
def webclient_request?
|
||||||
return if Rails.env.test?
|
return if Rails.env.test?
|
||||||
|
|
||||||
header = request.headers['AccreditationToken']
|
|
||||||
return if header == ENV['accreditation_secret']
|
|
||||||
|
|
||||||
ENV['webclient_ips'].split(',').map(&:strip).include?(request.ip)
|
ENV['webclient_ips'].split(',').map(&:strip).include?(request.ip)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue