DONT LOOK DIRECTLY INTO THE AUTHENTICATION CODE!

This commit is contained in:
Cyberboss
2017-09-14 15:59:14 -04:00
parent 82cdd25f3d
commit ebdd37d9d0
8 changed files with 65 additions and 18 deletions
+5
View File
@@ -24,6 +24,11 @@ namespace TGControlPanel
MessageBox.Show("Unable to connect to service! Error: " + res);
return;
}
if (!Server.Authenticate())
{
MessageBox.Show("Authentication error! Username/password/windows identity is not authorized!");
return;
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Main());