Skip to content

Commit 91e54a7

Browse files
Merge pull request #7 from tillkruss/patch-1
Generate 24 character password for new users
2 parents 593e496 + 862bb7e commit 91e54a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/User_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public function create( $args, $assoc_args ) {
351351
if ( isset( $assoc_args['user_pass'] ) ) {
352352
$user->user_pass = $assoc_args['user_pass'];
353353
} else {
354-
$user->user_pass = wp_generate_password();
354+
$user->user_pass = wp_generate_password(24);
355355
$generated_pass = true;
356356
}
357357

0 commit comments

Comments
 (0)