akaunting/app/Http/Middleware/VerifyCsrfToken.php

24 lines
462 B
PHP
Raw Normal View History

2017-09-14 22:21:00 +03:00
<?php
namespace App\Http\Middleware;
2019-11-16 10:21:14 +03:00
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
2017-09-14 22:21:00 +03:00
2019-11-16 10:21:14 +03:00
class VerifyCsrfToken extends Middleware
2017-09-14 22:21:00 +03:00
{
2019-11-16 10:21:14 +03:00
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
2017-09-14 22:21:00 +03:00
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
2019-11-16 10:21:14 +03:00
}