mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Replaced remote ip to ip for counter #2348
This commit is contained in:
parent
c347913732
commit
a7807eb288
1 changed files with 1 additions and 1 deletions
|
@ -328,6 +328,6 @@ class EppController < ApplicationController
|
|||
def iptables_counter_update
|
||||
return if ENV['iptables_counter_enabled'].blank? && ENV['iptables_counter_enabled'] != 'true'
|
||||
return if current_user.blank?
|
||||
counter_update(current_user.registrar_code, request.remote_ip)
|
||||
counter_update(current_user.registrar_code, request.ip)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue