2015-12-06 13:58:49 -05:00
|
|
|
<?php
|
|
|
|
|
|
2024-03-12 22:39:16 -04:00
|
|
|
namespace App\Http\Middleware;
|
2015-12-06 13:58:49 -05:00
|
|
|
|
2026-05-04 11:39:43 +02:00
|
|
|
use Illuminate\Foundation\Http\Middleware\PreventRequestForgery as BaseMiddleware;
|
2015-12-06 13:58:49 -05:00
|
|
|
|
2026-05-04 11:39:43 +02:00
|
|
|
class PreventRequestForgery extends BaseMiddleware
|
2015-12-06 13:58:49 -05:00
|
|
|
{
|
|
|
|
|
/**
|
2021-11-16 20:02:18 -08:00
|
|
|
* The URIs that should be excluded from CSRF verification. These are
|
|
|
|
|
* never hit by the front-end, and require specific token validation
|
|
|
|
|
* to work.
|
2015-12-06 13:58:49 -05:00
|
|
|
*/
|
2021-11-16 20:02:18 -08:00
|
|
|
protected $except = ['remote/*', 'daemon/*'];
|
2015-12-06 13:58:49 -05:00
|
|
|
}
|