From 8db17145bdf83ce2ec566875bf39dea57b60c860 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 19 Aug 2017 15:33:28 -0400 Subject: [PATCH] validate all installation ids --- util/Setup/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/Setup/Program.cs b/util/Setup/Program.cs index 46e5de830..ea3b655fc 100644 --- a/util/Setup/Program.cs +++ b/util/Setup/Program.cs @@ -133,6 +133,9 @@ namespace Setup Console.Write("(!) Enter your installation key: "); _installationKey = Console.ReadLine(); + // validate all installations for now. remove later. + return true; + try { var response = new HttpClient().GetAsync("https://api.bitwarden.com/installations/" + _installationId)