mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 22:21:23 +12:00
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:
parent
d4222e8217
commit
db68bfe24c
|
@ -952,18 +952,12 @@ private void atcTinyPicAccountType_AccountTypeChanged(AccountType accountType)
|
|||
|
||||
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)
|
||||
{
|
||||
if (Config.TinyPicRememberUserPass)
|
||||
{
|
||||
Config.TinyPicPassword = txtTinyPicPassword.Text;
|
||||
}
|
||||
Config.TinyPicPassword = txtTinyPicPassword.Text;
|
||||
}
|
||||
|
||||
private void btnTinyPicLogin_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -61,7 +61,6 @@ public class UploadersConfig : SettingsBase<UploadersConfig>
|
|||
public string TinyPicRegistrationCode = "";
|
||||
public string TinyPicUsername = "";
|
||||
public string TinyPicPassword = "";
|
||||
public bool TinyPicRememberUserPass = false;
|
||||
|
||||
#endregion TinyPic
|
||||
|
||||
|
|
Loading…
Reference in a new issue