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