Browse Source

Merge branch '娄底高职分支' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 娄底高职分支

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

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

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



Loading…
Cancel
Save