старая структура laravel, упоминается в Kernel, может по умолчанию шифровать все куки

This commit is contained in:
vasya
2026-03-22 20:07:48 +03:00
parent e927910fda
commit 6a0d4cf96e
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array<int, string>
*/
protected $except = [
//
];
}