* userModel: refactor the identifyByCookie method.

This commit is contained in:
liugang
2023-12-07 14:44:09 +08:00
parent 539e57e675
commit 03380eba66
+2 -1
View File
@@ -965,12 +965,13 @@ class userModel extends model
}
/**
* 根据 Cookie 验证用户。
* Identify user by cookie.
*
* @access public
* @return bool
*/
public function identifyByCookie()
public function identifyByCookie(): bool
{
$account = $this->cookie->za;
$authHash = $this->cookie->zp;