2016-01-08 09:00:57 -06:00
|
|
|
<?php
|
2016-05-20 05:41:23 -05:00
|
|
|
/**
|
|
|
|
* EncryptCookies.php
|
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
|
|
*
|
2016-10-04 23:52:15 -05:00
|
|
|
* 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-05-20 05:41:23 -05:00
|
|
|
*/
|
2017-04-09 00:44:22 -05:00
|
|
|
declare(strict_types=1);
|
2016-01-08 09:00:57 -06:00
|
|
|
|
|
|
|
namespace FireflyIII\Http\Middleware;
|
|
|
|
|
|
|
|
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
|
|
|
|
|
2016-01-09 01:20:55 -06:00
|
|
|
/**
|
|
|
|
* Class EncryptCookies
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Http\Middleware
|
|
|
|
*/
|
2016-01-08 09:00:57 -06:00
|
|
|
class EncryptCookies extends BaseEncrypter
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The names of the cookies that should not be encrypted.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
2016-01-15 16:12:52 -06:00
|
|
|
protected $except
|
|
|
|
= [
|
|
|
|
//
|
|
|
|
];
|
2016-01-08 09:00:57 -06:00
|
|
|
}
|