mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +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
|
@ -35,6 +35,7 @@ class Epp::SessionsController < EppController
|
|||
end
|
||||
|
||||
def ip_white?
|
||||
return true if request.ip == ENV['webclient_ip']
|
||||
if @api_user
|
||||
unless @api_user.registrar.epp_ip_white?(request.ip)
|
||||
@msg = t('ip_is_not_whitelisted')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue