mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-04 04:06:05 +13: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
2 changed files with 2 additions and 9 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue