Kaynağa Gözat

锁定获取用户调整

娄底高职分支
liangkun 1 yıl önce
ebeveyn
işleme
d9d38aaff8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet