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

This commit is contained in:
vasya
2026-03-22 20:13:29 +03:00
parent b7271e348a
commit 77eadf29ac
3 changed files with 67 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array<int, string>
*/
protected $except = [
'current_password',
'password',
'password_confirmation',
];
}