add two more
This commit is contained in:
parent
df51e47b8f
commit
89be7f5dbc
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'same_site' => env('SESSION_SAME_SITE', 'lax'),
|
||||
'same_site' => env('SESSION_SAME_SITE', 'none'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user