mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
validate all installation ids
This commit is contained in:
@ -133,6 +133,9 @@ 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