20 lines
333 B
PHP
20 lines
333 B
PHP
<?php
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
use Closure;
|
|
use Session;
|
|
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
|
|
|
|
class EncryptCookies extends BaseEncrypter
|
|
{
|
|
/**
|
|
* The names of the cookies that should not be encrypted.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $except = [
|
|
'locale',
|
|
];
|
|
}
|