mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-01 12:51:00 +00:00
31 lines
704 B
PHP
31 lines
704 B
PHP
<?php
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
use Illuminate\Cookie\Middleware\EncryptCookies as FrameworkEncryptCookies;
|
|
|
|
/**
|
|
* Application hook into the framework's cookie encryption pass.
|
|
*
|
|
* It exists so the app owns the opt-out list; nothing else is customised.
|
|
*/
|
|
class EncryptCookies extends FrameworkEncryptCookies
|
|
{
|
|
/**
|
|
* Whether cookie payloads are run through PHP's serializer before being
|
|
* encrypted. Left off, matching the framework default.
|
|
*
|
|
* @var bool
|
|
*/
|
|
protected static $serialize = false;
|
|
|
|
/**
|
|
* Cookie names that travel in clear text. Nothing is exempt right now.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $except = [
|
|
//
|
|
];
|
|
}
|