2016-01-08 09:00:57 -06:00
|
|
|
<?php
|
2016-05-20 05:41:23 -05:00
|
|
|
/**
|
|
|
|
* VerifyCsrfToken.php
|
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
|
|
*
|
|
|
|
* This software may be modified and distributed under the terms
|
|
|
|
* of the MIT license. See the LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
2016-02-05 05:08:25 -06:00
|
|
|
declare(strict_types = 1);
|
2016-01-08 09:00:57 -06:00
|
|
|
namespace FireflyIII\Http\Middleware;
|
2015-02-05 21:39:52 -06:00
|
|
|
|
|
|
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
|
|
|
|
|
2016-01-09 01:20:55 -06:00
|
|
|
/**
|
|
|
|
* Class VerifyCsrfToken
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Http\Middleware
|
|
|
|
*/
|
2015-02-11 00:35:10 -06:00
|
|
|
class VerifyCsrfToken extends BaseVerifier
|
|
|
|
{
|
|
|
|
/**
|
2016-01-08 09:00:57 -06:00
|
|
|
* The URIs that should be excluded from CSRF verification.
|
2015-02-11 00:35:10 -06:00
|
|
|
*
|
2016-01-08 09:00:57 -06:00
|
|
|
* @var array
|
2015-02-11 00:35:10 -06:00
|
|
|
*/
|
2016-01-08 09:00:57 -06:00
|
|
|
protected $except
|
|
|
|
= [
|
|
|
|
//
|
|
|
|
];
|
2016-01-09 01:20:55 -06:00
|
|
|
}
|