1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

validate all installation ids

This commit is contained in:
Kyle Spearrin 2017-08-19 15:33:28 -04:00
parent 3ca8801af0
commit 8db17145bd

View File

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