Skip to content

A free open source IT asset/license management system

Added cookie serialization for Laravel v5.6.30

snipe771265113ea8
diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php
index 3aa15f8dd9..e3fe0f8b69 100644
--- a/app/Http/Middleware/EncryptCookies.php
+++ b/app/Http/Middleware/EncryptCookies.php
@@ -6,6 +6,10 @@ use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
+
+ protected static $serialize = true;
+
+
/**
* The names of the cookies that should not be encrypted.
*