mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
ratelimit fix
This commit is contained in:
parent
15e2a416da
commit
abae4e254a
3 changed files with 9 additions and 5 deletions
|
@ -382,6 +382,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.ip)
|
||||
counter_update(current_user.registrar_code, ENV['iptables_server_ip'])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue