Browse Source

锁定获取用户调整

娄底高职分支
liangkun 1 year ago
parent
commit
d9d38aaff8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs View File

@@ -524,7 +524,7 @@ namespace Learun.Application.Web.Controllers
}
if (error>= ForbidLoginNum)
{
var needlockaccount = userBll.GetEntityByAccount(username);
var needlockaccount = userBll.GetEntityByMobile(username);
userBll.UpdateState(needlockaccount.F_UserId,0);
return Fail("密码错误次数过多,账户已被锁定!");
}


Loading…
Cancel
Save