Skip to content

Commit

Permalink
Merge pull request #7 from tillkruss/patch-1
Browse files Browse the repository at this point in the history
Generate 24 character password for new users
  • Loading branch information
danielbachhuber authored Apr 17, 2017
2 parents 593e496 + 862bb7e commit 91e54a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/User_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public function create( $args, $assoc_args ) {
if ( isset( $assoc_args['user_pass'] ) ) {
$user->user_pass = $assoc_args['user_pass'];
} else {
$user->user_pass = wp_generate_password();
$user->user_pass = wp_generate_password(24);
$generated_pass = true;
}

Expand Down

0 comments on commit 91e54a7

Please sign in to comment.