mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Added Registrar roles with super, epp, billing
This commit is contained in:
parent
8371dcf46e
commit
5afa0ac793
12 changed files with 77 additions and 24 deletions
|
@ -145,6 +145,7 @@ class Registrar::SessionsController < Devise::SessionsController
|
|||
private
|
||||
|
||||
def check_ip
|
||||
return if Rails.env.development?
|
||||
return if WhiteIp.registrar_ip_white?(request.ip)
|
||||
render text: t('ip_is_not_whitelisted') and return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue