mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Replaced remote ip to ip for counter #2348
This commit is contained in:
parent
0918a26691
commit
12abb97387
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