This commit is contained in:
@@ -30,6 +30,15 @@ namespace AyaNova.PlugIn.V8
|
||||
}
|
||||
private async void btnOk_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!util.Initialized)
|
||||
{
|
||||
var result = await util.TestUrlAsync(edServerUrl.Text);
|
||||
if (result != "OK")
|
||||
{
|
||||
MessageBox.Show("Server could not be reached at that URL\n" + result);
|
||||
return;
|
||||
}
|
||||
}
|
||||
var res = await util.AuthenticateAsync(edUserName.Text,edPassword.Text);
|
||||
if (!res)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user