sysusercontrolelr 删除无效注释
This commit is contained in:
parent
d8a899f0e9
commit
245854b3e3
|
|
@ -157,7 +157,6 @@ public class SysUserController extends BaseController
|
||||||
return AjaxResult.error("userId不能为空!");
|
return AjaxResult.error("userId不能为空!");
|
||||||
}
|
}
|
||||||
// 用户信息可以被爆破 dazer
|
// 用户信息可以被爆破 dazer
|
||||||
//安全漏洞测试fix,增加防止越权的操作;不法分子,可能通过修改 userid 抓取、修改、删除、重置 任意用户敏感信息 (1 getInfo)
|
|
||||||
if (!this.checkUserIdAllowed(userId)) {
|
if (!this.checkUserIdAllowed(userId)) {
|
||||||
return AjaxResult.error("请勿非法操作,你无权操作该用户,userId = " + userId );
|
return AjaxResult.error("请勿非法操作,你无权操作该用户,userId = " + userId );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue