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(
|
@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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue