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

29 lines
773 B
PHP
Raw Normal View History

2020-07-23 10:29:36 +02:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
2021-03-04 09:38:39 +01:00
use Illuminate\Contracts\Encryption\Encrypter;
use Illuminate\Contracts\Foundation\Application;
2020-07-23 10:29:36 +02:00
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [];
2021-03-04 09:38:39 +01:00
public function __construct(Application $app, Encrypter $encrypter)
{
$this->except[] = route('club.boutique.reglement.payementConfirmCB', [
'order' => '*'
], false);
$this->except[] = route('club.boutique.reglement.payementConfirmCBServ', [
'order' => '*'
], false);
parent::__construct($app, $encrypter);
}
2020-07-23 10:29:36 +02:00
}