21 lines
334 B
PHP
21 lines
334 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',
|
|
];
|
|
|
|
}
|