Files
spa-api/app/Http/Middleware/VerifyCsrfToken.php

25 lines
467 B
PHP
Raw Normal View History

<?php
namespace App\Http\Middleware;
2017-03-29 10:05:16 -05:00
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
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;
}