mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Replaced remote ip to ip for counter #2348
This commit is contained in:
parent
16a6192c36
commit
9b15e9e7f0
1 changed files with 1 additions and 1 deletions
|
@ -333,6 +333,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