diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index d96f4a9b..abb97150 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -67,13 +67,18 @@ class BaseAuthedController extends BaseController { public function switchAccount($accountId){ $this->accountId = $accountId; + $this->address = null; $this->addressActived = false; $this->mysqlConn = null; + $this->redisConn = null; } public function switchOnlineAccount($accountId){ $this->accountId = $accountId; + $this->address = null; + $this->addressActived = false; $this->mysqlConn = null; + $this->redisConn = null; $r = $this->_getRedis($this->_getAccountId()); $this->sessionId = $r->get(LAST_SESSION_KEY . $this->_getAccountId()); return !empty($this->sessionId);