misc_pterodactyl-panel/app/Http/Middleware/VerifyCsrfToken.php

20 lines
365 B
PHP
Raw Normal View History

<?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/*',
'daemon/*',
2016-12-07 22:46:38 +00:00
'api/*',
];
}