Skip to content

Commit 7c90d41

Browse files
committed
dont serialize session id cookie
1 parent c0eb907 commit 7c90d41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Illuminate/Cookie/Middleware/EncryptCookies.php

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ class EncryptCookies
4343
public function __construct(EncrypterContract $encrypter)
4444
{
4545
$this->encrypter = $encrypter;
46+
47+
$this->serialization[config('session.cookie')] = false;
4648
}
4749

4850
/**

0 commit comments

Comments
 (0)