blessing-skin-server/app/Http/Middleware/EncryptCookies.php

22 lines
350 B
PHP
Raw Normal View History

2016-08-28 10:05:21 +08:00
<?php
namespace App\Http\Middleware;
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',
'token'
2016-08-28 10:05:21 +08:00
];
2016-08-28 10:05:21 +08:00
}