28 lines
773 B
PHP
28 lines
773 B
PHP
<?php
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
|
|
use Illuminate\Contracts\Encryption\Encrypter;
|
|
use Illuminate\Contracts\Foundation\Application;
|
|
|
|
class VerifyCsrfToken extends Middleware
|
|
{
|
|
/**
|
|
* The URIs that should be excluded from CSRF verification.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $except = [];
|
|
|
|
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);
|
|
}
|
|
}
|