Selaa lähdekoodia

锁定获取用户调整

娄底高职分支
liangkun 1 vuosi sitten
vanhempi
commit
d9d38aaff8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna