2020-07-23 10:29:36 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
|
|
|
|
|
|
|
|
|
|
class VerifyCsrfToken extends Middleware
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The URIs that should be excluded from CSRF verification.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $except = [
|
2021-02-15 10:57:43 +01:00
|
|
|
// TODO : Enlever quand la route sera faite
|
2020-12-10 12:13:33 +01:00
|
|
|
'/change-mdp/*',
|
2020-07-23 10:29:36 +02:00
|
|
|
];
|
|
|
|
|
}
|