mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05: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