mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-01 21:00:58 +00:00
feat(app): fresh module-platform, provider, middleware, rule and support implementation
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?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 = [
|
||||
//
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user