2016-01-08 09:00:57 -06:00
|
|
|
<?php
|
2017-09-14 10:40:02 -05:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* EncryptCookies.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-01-08 09:00:57 -06:00
|
|
|
|
|
|
|
namespace FireflyIII\Http\Middleware;
|
|
|
|
|
2017-09-09 15:02:20 -05:00
|
|
|
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
|
2016-01-08 09:00:57 -06:00
|
|
|
|
2017-09-09 15:02:20 -05:00
|
|
|
class EncryptCookies extends Middleware
|
2016-01-08 09:00:57 -06:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The names of the cookies that should not be encrypted.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
2017-09-14 10:40:02 -05:00
|
|
|
protected $except
|
|
|
|
= [
|
|
|
|
//
|
|
|
|
];
|
2016-01-08 09:00:57 -06:00
|
|
|
}
|