From ccc613a6decc11ba33c01258dd1da559a60fa2f5 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Tue, 6 Feb 2018 18:33:42 +0200 Subject: [PATCH] Init cookies #698 --- app/controllers/epp_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index 8eb6fbc960..58f450147e 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -88,6 +88,7 @@ def params_hash # TODO: THIS IS DEPRECATED AND WILL BE REMOVED IN FUTURE # SESSION MANAGEMENT def epp_session + cookies # Probably does some initialization cookie = env['rack.request.cookie_hash'] || {} EppSession.find_or_initialize_by(session_id: cookie['session']) end