Skip to content

Commit

Permalink
Merge pull request #699 from internetee/registry-698
Browse files Browse the repository at this point in the history
Init cookies
  • Loading branch information
vohmar authored Feb 6, 2018
2 parents fe0dca8 + ccc613a commit 04ea3d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/epp_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04ea3d5

Please sign in to comment.