From 7c90d413d6b0940e8d5d21733b413b97b081ffdd Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 6 Aug 2018 22:23:56 -1000 Subject: [PATCH] dont serialize session id cookie --- src/Illuminate/Cookie/Middleware/EncryptCookies.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Illuminate/Cookie/Middleware/EncryptCookies.php b/src/Illuminate/Cookie/Middleware/EncryptCookies.php index 388290f60900..0989f7b12d4a 100644 --- a/src/Illuminate/Cookie/Middleware/EncryptCookies.php +++ b/src/Illuminate/Cookie/Middleware/EncryptCookies.php @@ -43,6 +43,8 @@ class EncryptCookies public function __construct(EncrypterContract $encrypter) { $this->encrypter = $encrypter; + + $this->serialization[config('session.cookie')] = false; } /**