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
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The URIs that should be excluded from CSRF verification.
|
|
|
|
*
|
2022-02-26 16:15:20 +00:00
|
|
|
* @var array<int, string>
|
2015-12-06 18:58:49 +00:00
|
|
|
*/
|
|
|
|
protected $except = [
|
2016-01-02 00:27:44 +00:00
|
|
|
'remote/*',
|
2017-01-27 21:34:46 +00:00
|
|
|
'daemon/*',
|
2015-12-06 18:58:49 +00:00
|
|
|
];
|
|
|
|
}
|