You've already forked qlg.tsgz.moe
2222222
This commit is contained in:
@ -400,7 +400,7 @@ function WSTCheckLoginKey2($val,$userId = 0){
|
||||
if(!WSTCheckFilterWords($val,WSTConf("CONF.registerLimitWords"))){
|
||||
return WSTReturn("户主姓名包含非法字符");
|
||||
}
|
||||
$dbo = Db::name('users')->where(["householdName"=>['=',$val]]);
|
||||
$dbo = Db::name('auth_personal')->where(["householdName"=>['=',$val]]);
|
||||
if($userId>0){
|
||||
$dbo->where("userId", "<>", $userId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user