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; } }