mirror of
https://github.com/internetee/registry.git
synced 2025-08-12 12:39:34 +02:00
Fix epp_session key problem
This commit is contained in:
parent
833577c356
commit
a95927c22f
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ module Epp::Common
|
||||||
end
|
end
|
||||||
|
|
||||||
def epp_session
|
def epp_session
|
||||||
EppSession.find_or_initialize_by(session_id: cookies['session'])
|
cookie = env['rack.request.cookie_hash'] || {}
|
||||||
|
EppSession.find_or_initialize_by(session_id: cookie['session'])
|
||||||
end
|
end
|
||||||
|
|
||||||
def epp_errors
|
def epp_errors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue