2015-06-01 15:43:37 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Http\Middleware;
|
2015-01-26 19:32:22 -06:00
|
|
|
|
2017-03-29 10:05:16 -05:00
|
|
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
|
2015-01-26 19:32:22 -06:00
|
|
|
|
2017-03-29 10:05:16 -05:00
|
|
|
class VerifyCsrfToken extends Middleware
|
2015-02-22 20:47:03 -06:00
|
|
|
{
|
2015-04-30 14:18:27 -05:00
|
|
|
/**
|
2015-04-30 14:19:00 -05:00
|
|
|
* The URIs that should be excluded from CSRF verification.
|
2015-04-30 14:18:27 -05:00
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $except = [
|
|
|
|
|
//
|
|
|
|
|
];
|
2018-07-03 16:37:01 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
|
|
|
|
|
*
|
|
|
|
|
* @var bool
|
|
|
|
|
*/
|
|
|
|
|
protected $addHttpCookie = true;
|
2015-01-26 19:32:22 -06:00
|
|
|
}
|