...
|
...
|
@@ -17,10 +17,6 @@ class LoginController extends WebAction |
|
|
// 设置登录有效时间30分钟, 防机器刷
|
|
|
$this->setSession('_LOGIN_EXPIRE', time() + 1800);
|
|
|
|
|
|
// 清除客户端
|
|
|
$this->setCookie('_UID', '');
|
|
|
$this->setCookie('_TOKEN', '');
|
|
|
|
|
|
//登录后跳转页面
|
|
|
$refer = empty($_SERVER["HTTP_REFERER"]) ? '' : $_SERVER["HTTP_REFERER"];
|
|
|
if (!empty($refer)) {
|
...
|
...
|
|