mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2025-12-06 00:13:33 +00:00
Display notools disconnect message.
This commit is contained in:
@@ -802,6 +802,13 @@ namespace MeshCentralRouter
|
||||
stateClearTimer.Enabled = true;
|
||||
serverNameComboBox.Focus();
|
||||
}
|
||||
else if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("notools"))
|
||||
{
|
||||
stateLabel.Text = Translate.T(Properties.Resources.NoToolsAllowed);
|
||||
stateLabel.Visible = true;
|
||||
stateClearTimer.Enabled = true;
|
||||
serverNameComboBox.Focus();
|
||||
}
|
||||
else if ((meshcentral.disconnectMsg != null) && meshcentral.disconnectMsg.StartsWith("emailvalidationrequired"))
|
||||
{
|
||||
stateLabel.Text = Translate.T(Properties.Resources.EmailVerificationRequired);
|
||||
|
||||
Reference in New Issue
Block a user