Browse Source

提示语

master
qian 4 months ago
parent
commit
897cc8064e
  1. 5
      SCP/default.aspx.cs

5
SCP/default.aspx.cs

@ -117,6 +117,11 @@ namespace SCP
return;
}
User user = DB.Users.Where(u => u.Name == p_userName).FirstOrDefault();
if (user == null)
{
Alert.Show(GetResourceKey("用户名或密码错误!"));
return;
}
if (!user.Enabled)
{
Alert.Show(GetResourceKey("用户未启用或已锁定,请联系管理员!"));

Loading…
Cancel
Save