Merge branch 'master' of github.com:domify/registry into epp-error-api

This commit is contained in:
Martin Lensment 2015-07-21 16:10:51 +03:00
commit 32d1be4866
6 changed files with 11 additions and 19 deletions

View file

@ -345,6 +345,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