diff --git a/app/controllers/repp/v1/base_controller.rb b/app/controllers/repp/v1/base_controller.rb index f23d0a24f3..3e9ab57153 100644 --- a/app/controllers/repp/v1/base_controller.rb +++ b/app/controllers/repp/v1/base_controller.rb @@ -116,9 +116,6 @@ def check_ip_restriction def webclient_request? return if Rails.env.test? - header = request.headers['AccreditationToken'] - return if header == ENV['accreditation_secret'] - ENV['webclient_ips'].split(',').map(&:strip).include?(request.ip) end