2016-08-28 10:05:21 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Http\Middleware;
|
|
|
|
|
2016-08-29 22:46:57 +08:00
|
|
|
use Closure;
|
|
|
|
use Session;
|
2016-08-28 10:05:21 +08:00
|
|
|
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
|
|
|
];
|
|
|
|
}
|