mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: increase generated password length resolve flake (#6116)
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ func userCreate() *cobra.Command {
|
||||
}
|
||||
}
|
||||
if password == "" {
|
||||
password, err = cryptorand.StringCharset(cryptorand.Human, 12)
|
||||
password, err = cryptorand.StringCharset(cryptorand.Human, 20)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user