mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Remove reduntant test, fix REPP text
This commit is contained in:
parent
e27132bab7
commit
865e0adef8
5 changed files with 7 additions and 15 deletions
|
@ -8,7 +8,7 @@ module Repp
|
|||
end
|
||||
|
||||
before do
|
||||
unless Rails.env.development?
|
||||
if request.ip != ENV['webclient_ip']
|
||||
error! I18n.t('ip_is_not_whitelisted'), 401 unless @current_user.registrar.repp_ip_white?(request.ip)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue