Files
SkinbaseNova/app/Http/Middleware/VerifyCsrfToken.php
2026-03-05 11:24:37 +01:00

20 lines
502 B
PHP

<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
* Add legacy endpoints that post from old JS which don't include tokens.
*
* @var array<int, string>
*/
protected $except = [
'chat_post',
'chat_post/*',
// Apple Sign In removed — no special CSRF exception required
];
}