Update CliUtils
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user