* Get account from cookie.

This commit is contained in:
leiyong
2023-08-23 06:25:00 +00:00
parent ec3c386f53
commit ec5ae13520
+1
View File
@@ -770,6 +770,7 @@ class baseRouter
$account = isset($_SESSION['user']) ? $_SESSION['user']->account : '';
if(empty($account) and isset($_POST['account'])) $account = $_POST['account'];
if(empty($account) and isset($_GET['account'])) $account = $_GET['account'];
if(empty($account)) $account = $this->cookie->za;
$vision = '';
if($this->config->installed and validater::checkAccount($account))