add two more

This commit is contained in:
mcoder 2026-07-22 00:20:32 +03:30
parent df51e47b8f
commit 89be7f5dbc
2 changed files with 3 additions and 2 deletions

View File

@ -15,10 +15,11 @@
$middleware->web(append: [
\App\Http\Middleware\VulnerableHeadersMiddleware::class,
]);
$middleware->trustProxies(at: '*');
$middleware->validateCsrfTokens(except: [
'csrf-target', // غیرفعال کردن CSRF برای این روت خاص
]);
})
->withExceptions(function (Exceptions $exceptions) {
//
})->create();
})->create();

View File

@ -199,7 +199,7 @@
|
*/
'same_site' => env('SESSION_SAME_SITE', 'lax'),
'same_site' => env('SESSION_SAME_SITE', 'none'),
/*
|--------------------------------------------------------------------------