* userControl: refactor the refreshRandom method.

This commit is contained in:
liugang
2023-11-28 15:46:27 +08:00
parent d24da6ceba
commit 436e953801
+4 -3
View File
@@ -1158,14 +1158,15 @@ class user extends control
}
/**
* Refresh random for login
* 刷新用于登录的随机数。
* Refresh random for login.
*
* @access public
* @return void
*/
public function refreshRandom()
{
$rand = (string)$this->user->updateSessionRandom();
echo $rand;
$rand = $this->user->updateSessionRandom();
echo (string)$rand;
}
}