Files

25 lines
512 B
PHP
Raw Permalink 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 = [
2020-09-21 14:54:51 +02:00
// '*', // FIXME: CSRF completely disabled!
2018-05-09 08:05:17 -05:00
];
}