diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index f93f919e..941d918d 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -43,19 +43,7 @@ class BaseAuthedController extends BaseController { $_REQUEST )); phpcommon\sendError(1001, 'session expiration'); - } - } - if (!(getReqVal('c', '') == 'User' && getReqVal('c', '') == 'login')) { - $r = $this->_getRedis($this->_getAccountId()); - $sessionId = $r->get(LAST_SESSION_KEY . $this->_getAccountId()); - if (empty($sessionId)) { - $this->updateSession(myself()->_getAccountId(), - myself()->_getSessionId()); - } else if ($sessionId != $this->_getSessionId()) { - error_log('session expiration' . json_encode( - $_REQUEST - )); - phpcommon\sendError(1001, 'session expiration'); + die(); } } }