2016-08-28 10:05:21 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
|
|
|
|
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 = [
|
2016-10-23 11:41:52 +08:00
|
|
|
'locale',
|
2016-08-28 10:05:21 +08:00
|
|
|
];
|
|
|
|
}
|