mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 06:04:56 +02:00
remove uneccesarry checking for header
This commit is contained in:
parent
7f0aae23f1
commit
405475d1e2
1 changed files with 0 additions and 3 deletions
|
@ -116,9 +116,6 @@ module Repp
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue