Files
librenms-librenms/app/Http/Middleware/VerifyCsrfToken.php
T

25 lines
504 B
PHP
Raw Normal View History

2018-05-09 08:05:17 -05:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
2018-05-09 08:05:17 -05:00
class VerifyCsrfToken extends Middleware
2018-05-09 08:05:17 -05:00
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
2018-05-09 08:05:17 -05:00
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
2019-07-17 07:20:26 -05:00
// '*', // FIXME: CSRF completely disabled!
2018-05-09 08:05:17 -05:00
];
}