2015-12-06 18:58:49 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Middleware;
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
|
|
|
|
|
|
|
|
class VerifyCsrfToken extends BaseVerifier
|
|
|
|
{
|
|
|
|
/**
|
2021-11-17 04:02:18 +00: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 18:58:49 +00:00
|
|
|
*
|
2021-11-17 04:02:18 +00:00
|
|
|
* @var string[]
|
2015-12-06 18:58:49 +00:00
|
|
|
*/
|
2021-11-17 04:02:18 +00:00
|
|
|
protected $except = ['remote/*', 'daemon/*'];
|
2015-12-06 18:58:49 +00:00
|
|
|
}
|