fix for duplicate session cookies
This commit is contained in:
parent
f357440898
commit
cf20b95080
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue