Commit 6fb7cf52 by Sxy

Merge branch 'center-manage' of gitlab.gongsibao.com:jiangyong/zhichan into center-manage

parents e8a50954 11ac7725
...@@ -113,6 +113,8 @@ class UserCtl extends CtlBase { ...@@ -113,6 +113,8 @@ class UserCtl extends CtlBase {
await this.service.updateByWhere({ isEnabled: false }, { userName: pobj.userName }) await this.service.updateByWhere({ isEnabled: false }, { userName: pobj.userName })
msg = "登录超过4次失败,您的账户已被锁定,请联系管理员解锁." msg = "登录超过4次失败,您的账户已被锁定,请联系管理员解锁."
} }
} else {
await this.service.cacheManager["LoginTimesCache"].invalidate(pobj.userName)
} }
return system.getResult(rtn, msg); return system.getResult(rtn, msg);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment