|
|
@@ -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("密码错误次数过多,账户已被锁定!"); |
|
|
|
} |
|
|
|