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.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $except = [
|
2016-01-02 00:27:44 +00:00
|
|
|
'remote/*',
|
2017-01-27 21:34:46 +00:00
|
|
|
'daemon/*',
|
2016-12-07 22:46:38 +00:00
|
|
|
'api/*',
|
2015-12-06 18:58:49 +00:00
|
|
|
];
|
|
|
|
}
|