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:
parent
3ca8801af0
commit
8db17145bd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user