..
This commit is contained in:
@@ -50,10 +50,12 @@ namespace Project.Dialog
|
||||
|
||||
var encpass = Pub.MakePasswordEnc(tbPW.Text.Trim());
|
||||
var ta = new dsMSSQLTableAdapters.UsersTableAdapter();
|
||||
var users = ta.GetIDPW(tbID.Text.Trim(), encpass);
|
||||
var users = ta.GetIDPW(encpass, tbID.Text.Trim());
|
||||
if(users.Rows.Count < 1)
|
||||
{
|
||||
Util.MsgE("No user");
|
||||
tbPW.SelectAll();
|
||||
tbPW.Focus();
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user