migrate to gtea from bistbucket
This commit is contained in:
36
public/restaurant/app/Http/Middleware/VerifyCsrfToken.php
Normal file
36
public/restaurant/app/Http/Middleware/VerifyCsrfToken.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?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 = [
|
||||
'/pay-via-ajax',
|
||||
'/success',
|
||||
'payment/sslcommerz/*',
|
||||
'payment/paytm/pay',
|
||||
'/cancel',
|
||||
'/fail',
|
||||
'/ipn',
|
||||
'/bkash/*',
|
||||
'/paytabs-response',
|
||||
'/customer/choose-shipping-address',
|
||||
'/system_settings',
|
||||
'/paytm*',
|
||||
'payment/paytabs/callback*',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user