* Fix bug#21382.

This commit is contained in:
xieqiyu
2022-04-13 13:15:08 +08:00
parent a534c56793
commit 22b629b707
+1 -1
View File
@@ -952,7 +952,7 @@ class userModel extends model
*/
public function authorize($account)
{
$account = filter_var($account, FILTER_SANITIZE_STRING);
$account = filter_var($account, FILTER_UNSAFE_RAW);
if(!$account) return false;
$rights = array();