Skip to content

A free open source IT asset/license management system

Set the serialization

snipebfb910f375bf
diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php
index 3aa15f8dd9..515faca02b 100644
--- a/app/Http/Middleware/EncryptCookies.php
+++ b/app/Http/Middleware/EncryptCookies.php
@@ -6,6 +6,8 @@ use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
+
+
/**
* The names of the cookies that should not be encrypted.
*
@@ -14,4 +16,13 @@ class EncryptCookies extends BaseEncrypter
protected $except = [
//
];
+
+ /**
+ * Indicates if cookies should be serialized.
+ *
+ * @var bool
+ */
+ protected static $serialize = true;
+
+
}