Tell the user why they can't send requests on self-built instance

This commit is contained in:
2025-06-30 14:38:45 -07:00
parent 68e61a9370
commit 0347dac2d8
23 changed files with 338 additions and 36 deletions

View File

@@ -61,6 +61,9 @@ public class AccountChangePassword : MonoBehaviour
case "-997":
AccountHandler.UpdateStatusText(changePasswordStatusText, "Encryption/decryption issues", Color.red);
break;
case "-996":
AccountHandler.UpdateStatusText(changePasswordStatusText, "Can't send requests on self-built instance", Color.red);
break;
case "-1":
AccountHandler.UpdateStatusText(changePasswordStatusText, "New Password is too short or too long", Color.red);
break;
@@ -88,4 +91,4 @@ public class AccountChangePassword : MonoBehaviour
AccountHandler.UpdateStatusText(changePasswordStatusText, "Unknown server response " + response, Color.red);
}
}
}
}