Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4827d9e

Browse files
authored
fix: increase generated password length resolve flake (#6116)
1 parent d803bb7 commit 4827d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/usercreate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func userCreate() *cobra.Command {
5353
}
5454
}
5555
if password == "" {
56-
password, err = cryptorand.StringCharset(cryptorand.Human, 12)
56+
password, err = cryptorand.StringCharset(cryptorand.Human, 20)
5757
if err != nil {
5858
return err
5959
}

0 commit comments

Comments
 (0)