ldc-mesbr-app/app/Http/Middleware/VerifyCsrfToken.php

27 lines
526 B
PHP
Raw Permalink Normal View History

2019-01-15 14:17:15 +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.
*
2025-04-03 09:30:16 +02:00
* @var boolean
2019-01-15 14:17:15 +01:00
*/
protected $addHttpCookie = true;
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'updatecontact',
'updatebasket',
'showbasket',
2019-01-15 14:17:15 +01:00
];
}