Remove check of whether to save TinyPic login info

If user enters it, then save it.
Fixes #3186 (and linked issues)
This commit is contained in:
campbeb 2018-03-28 22:42:48 -04:00
parent d4222e8217
commit db68bfe24c
2 changed files with 2 additions and 9 deletions

View file

@ -951,20 +951,14 @@ private void atcTinyPicAccountType_AccountTypeChanged(AccountType accountType)
} }
private void txtTinyPicUsername_TextChanged(object sender, EventArgs e) private void txtTinyPicUsername_TextChanged(object sender, EventArgs e)
{
if (Config.TinyPicRememberUserPass)
{ {
Config.TinyPicUsername = txtTinyPicUsername.Text; Config.TinyPicUsername = txtTinyPicUsername.Text;
} }
}
private void txtTinyPicPassword_TextChanged(object sender, EventArgs e) private void txtTinyPicPassword_TextChanged(object sender, EventArgs e)
{
if (Config.TinyPicRememberUserPass)
{ {
Config.TinyPicPassword = txtTinyPicPassword.Text; Config.TinyPicPassword = txtTinyPicPassword.Text;
} }
}
private void btnTinyPicLogin_Click(object sender, EventArgs e) private void btnTinyPicLogin_Click(object sender, EventArgs e)
{ {

View file

@ -61,7 +61,6 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
public string TinyPicRegistrationCode = ""; public string TinyPicRegistrationCode = "";
public string TinyPicUsername = ""; public string TinyPicUsername = "";
public string TinyPicPassword = ""; public string TinyPicPassword = "";
public bool TinyPicRememberUserPass = false;
#endregion TinyPic #endregion TinyPic