From 5893d86e1389563b63fe76f733a31fd3b3c30c29 Mon Sep 17 00:00:00 2001 From: Eveldee Date: Mon, 7 Jun 2021 15:42:45 +0200 Subject: [PATCH] Update CliUtils --- Akari.Prototype.Server/Utils/CliUtils.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Akari.Prototype.Server/Utils/CliUtils.cs b/Akari.Prototype.Server/Utils/CliUtils.cs index 64c92d0..de06626 100644 --- a/Akari.Prototype.Server/Utils/CliUtils.cs +++ b/Akari.Prototype.Server/Utils/CliUtils.cs @@ -23,14 +23,14 @@ namespace Akari.Prototype.Server.Utils ansiConsole.WriteLine(); password = ansiConsole.Prompt( - new TextPrompt("Enter [green]master password[/]") + new TextPrompt("Enter [yellow]master password[/]") .PromptStyle("red") .Secret() ); - - ansiConsole.WriteLine(); } while (!masterKeyService.Login(password) && tries < LoginMaxTries); + ansiConsole.WriteLine(); + return masterKeyService.IsLoggedIn; } }