Config: Update admin username and password flag descriptions

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-04-29 13:46:35 +02:00
parent f44a4f9770
commit cbfd5a957f

View file

@ -32,13 +32,13 @@ var Flags = CliFlags{
}}, {
Flag: cli.StringFlag{
Name: "admin-user, login",
Usage: "superadmin `USERNAME`",
Usage: "admin login `USERNAME`",
Value: "admin",
EnvVar: EnvVar("ADMIN_USER"),
}}, {
Flag: cli.StringFlag{
Name: "admin-password, pw",
Usage: fmt.Sprintf("initial superadmin `PASSWORD` (%d-%d characters)", entity.PasswordLength, txt.ClipPassword),
Usage: fmt.Sprintf("initial admin `PASSWORD` (%d-%d characters)", entity.PasswordLength, txt.ClipPassword),
EnvVar: EnvVar("ADMIN_PASSWORD"),
}}, {
Flag: cli.Int64Flag{