2016-01-08 09:00:57 -06:00
|
|
|
<?php
|
2017-09-14 10:40:02 -05:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* VerifyCsrfToken.php
|
|
|
|
* Copyright (c) 2017 thegrumpydictator@gmail.com
|
|
|
|
* This software may be modified and distributed under the terms of the
|
|
|
|
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
|
|
|
*
|
|
|
|
* See the LICENSE file for details.
|
|
|
|
*/
|
2016-09-15 23:48:38 -05:00
|
|
|
|
2016-01-08 09:00:57 -06:00
|
|
|
namespace FireflyIII\Http\Middleware;
|
2015-02-05 21:39:52 -06:00
|
|
|
|
2017-09-09 15:03:54 -05:00
|
|
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
|
2017-02-16 23:42:36 -06:00
|
|
|
|
2017-09-09 15:03:54 -05:00
|
|
|
class VerifyCsrfToken extends Middleware
|
2015-02-11 00:35:10 -06:00
|
|
|
{
|
|
|
|
/**
|
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
|
|
|
*/
|
2017-09-14 10:40:02 -05:00
|
|
|
protected $except
|
|
|
|
= [
|
|
|
|
//
|
|
|
|
];
|
2016-01-09 01:20:55 -06:00
|
|
|
}
|