fix for duplicate session cookies

This commit is contained in:
Yessiest 2024-07-05 23:41:12 +04:00
parent f357440898
commit cf20b95080
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ module Landline
@session = Landline::Session::Session.new( @session = Landline::Session::Session.new(
request.cookies.dig('session', 0)&.value, request.cookies.dig('session', 0)&.value,
proc do |value| proc do |value|
delete_cookie("session", value) delete_cookie("session")
cookie("session", value) cookie("session", value)
end end
) )