atcheck/app/Http/Middleware/VerifyCsrfToken.php

28 lines
555 B
PHP
Raw Normal View History

2019-11-18 18:33:29 +01:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
2019-12-07 19:49:42 +01:00
'user/classes/start',
2019-12-16 15:45:28 +01:00
'user/classes/save',
'add/cache',
'delete/cache'
2019-11-18 18:33:29 +01:00
];
}