mirror of https://github.com/docker/docs.git
Update passphrase error message
Let the user know why passphrase wasn’t accepted. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
52b064b6a6
commit
59c063b8fe
|
@ -150,7 +150,7 @@ func PromptRetrieverWithInOut(in io.Reader, out io.Writer, aliasMap map[string]s
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(retPass) < 8 {
|
if len(retPass) < 8 {
|
||||||
fmt.Fprintln(out, "Please use a password manager to generate and store a good random passphrase.")
|
fmt.Fprintln(out, "Passphrase is too short. Please use a password manager to generate and store a good random passphrase.")
|
||||||
return "", false, ErrTooShort
|
return "", false, ErrTooShort
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue