Fix cicli redirect inutili

This commit is contained in:
Samuele E. Locatelli
2019-03-06 13:11:16 +01:00
parent dc1c90558e
commit 64fe527c42
2 changed files with 6 additions and 11 deletions
+2 -4
View File
@@ -161,11 +161,10 @@ namespace TestClient
// graphics will be disposed at this line
pictBox.Image = bitmap;
StringBuilder sb = new StringBuilder();
//sb.AppendLine("--------------------------------------------------");
sb.AppendLine("AUTH DONE!");
if (reqStatus.isHmiEnrolled)
if (authData.isEnrolled || reqStatus.isHmiEnrolled)
{
sb.AppendLine("");
sb.AppendLine("------");
sb.AppendLine("ENROLLED!");
}
lblRetData.Text = sb.ToString();
@@ -176,7 +175,6 @@ namespace TestClient
if (authData.userCode != "")
{
StringBuilder sb = new StringBuilder();
//sb.AppendLine("--------------------------------------------------");
sb.AppendLine("device_code:");
sb.AppendLine(authData.deviceCode.ToString());
sb.AppendLine("");