mirror of
https://github.com/bitwarden/server
synced 2025-12-14 07:13:39 +00:00
validate installation keys
This commit is contained in:
@@ -168,9 +168,6 @@ namespace Setup
|
|||||||
Console.Write("(!) Enter your installation key: ");
|
Console.Write("(!) Enter your installation key: ");
|
||||||
_installationKey = Console.ReadLine();
|
_installationKey = Console.ReadLine();
|
||||||
|
|
||||||
// validate all installations for now. remove later.
|
|
||||||
return true;
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var response = new HttpClient().GetAsync("https://api.bitwarden.com/installations/" + _installationId)
|
var response = new HttpClient().GetAsync("https://api.bitwarden.com/installations/" + _installationId)
|
||||||
|
|||||||
Reference in New Issue
Block a user