Update 2FA and Captcha controls
This commit is contained in:
parent
1f1f34b6ce
commit
ded58f687d
9 changed files with 51 additions and 35 deletions
|
|
@ -24,10 +24,8 @@ namespace LibationWinForms.Dialogs.Login
|
|||
this.captchaPb.Image = image;
|
||||
|
||||
passwordTb.Text = password;
|
||||
passwordTb.Enabled = string.IsNullOrEmpty(password);
|
||||
|
||||
if (passwordTb.Enabled)
|
||||
answerTb.Select();
|
||||
(string.IsNullOrEmpty(password) ? passwordTb : answerTb).Select();
|
||||
}
|
||||
|
||||
private void submitBtn_Click(object sender, EventArgs e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue