1
0
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:
Ylian Saint-Hilaire
2021-06-04 12:48:36 -07:00
parent 13e8ede655
commit 6eaadcc24c
3 changed files with 19 additions and 0 deletions

View File

@@ -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);