From fc02e4ad8a7e5119a7c0b643ad4c202a736e4ac0 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Wed, 14 Feb 2018 02:28:51 +0200 Subject: [PATCH] Remove environment dependency #700 --- app/controllers/epp_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index 8fe93ae4a..eee6cef7a 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -388,7 +388,7 @@ class EppController < ApplicationController def update_epp_session iptables_counter_update - if !Rails.env.development? && session_timeout_reached? + if session_timeout_reached? @api_user = current_user # cache current_user for logging epp_session.destroy response.headers['X-EPP-Returncode'] = '1500'