From cf20b9508098d8a2363d2e85aab6e77c3e73f1bd Mon Sep 17 00:00:00 2001 From: Yessiest Date: Fri, 5 Jul 2024 23:41:12 +0400 Subject: [PATCH] fix for duplicate session cookies --- lib/landline/extensions/session.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/landline/extensions/session.rb b/lib/landline/extensions/session.rb index b9abe76..7761e43 100644 --- a/lib/landline/extensions/session.rb +++ b/lib/landline/extensions/session.rb @@ -84,7 +84,7 @@ module Landline @session = Landline::Session::Session.new( request.cookies.dig('session', 0)&.value, proc do |value| - delete_cookie("session", value) + delete_cookie("session") cookie("session", value) end )