Update CliUtils

This commit is contained in:
2021-06-07 15:42:45 +02:00
parent ee9bc9ad33
commit 5893d86e13

View File

@@ -23,14 +23,14 @@ namespace Akari.Prototype.Server.Utils
ansiConsole.WriteLine();
password = ansiConsole.Prompt(
new TextPrompt<string>("Enter [green]master password[/]")
new TextPrompt<string>("Enter [yellow]master password[/]")
.PromptStyle("red")
.Secret()
);
ansiConsole.WriteLine();
} while (!masterKeyService.Login(password) && tries < LoginMaxTries);
ansiConsole.WriteLine();
return masterKeyService.IsLoggedIn;
}
}