mirror of
https://github.com/internetee/registry.git
synced 2025-08-23 01:31:35 +02:00
CC fixes
This commit is contained in:
parent
3943628716
commit
708e87f5a7
3 changed files with 5 additions and 12 deletions
|
@ -14,9 +14,7 @@ module Authorization
|
|||
end
|
||||
|
||||
def can_access_registrar_area_sign_in_page?
|
||||
Rails.logger.info "Checking if Auth::RestrictedIp.enabled: #{self.class.enabled?}"
|
||||
return true unless self.class.enabled?
|
||||
Rails.logger.info "Checking if registrar area accessible, result: #{WhiteIp.registrar_area.include_ip?(ip)}"
|
||||
WhiteIp.registrar_area.include_ip?(ip)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue