19 lines
365 B
PHP
19 lines
365 B
PHP
<?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.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $except = [
|
|
'remote/*',
|
|
'daemon/*',
|
|
'api/*',
|
|
];
|
|
}
|