disable one-time auth when method is table or rc4
This commit is contained in:
@@ -322,5 +322,18 @@ namespace Shadowsocks.View
|
||||
MoveConfigItem(+1); // +1 means move forward
|
||||
}
|
||||
}
|
||||
|
||||
private void EncryptionSelect_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (EncryptionSelect.Text == "rc4" || EncryptionSelect.Text == "table")
|
||||
{
|
||||
OneTimeAuth.Enabled = false;
|
||||
OneTimeAuth.Checked = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
OneTimeAuth.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user