2017-08-27 04:44:53 +09:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
|
|
|
|
|
|
|
|
class VerifyCsrfToken extends BaseVerifier
|
|
|
|
{
|
2020-05-23 21:34:49 +09:00
|
|
|
/**
|
|
|
|
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
protected $addHttpCookie = true;
|
|
|
|
|
2017-08-27 04:44:53 +09:00
|
|
|
/**
|
|
|
|
* The URIs that should be excluded from CSRF verification.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $except = [
|
|
|
|
//
|
|
|
|
];
|
|
|
|
}
|