diff --git a/app/Console/Commands/UserCreate.php b/app/Console/Commands/UserCreate.php index 77c175090..00616af65 100644 --- a/app/Console/Commands/UserCreate.php +++ b/app/Console/Commands/UserCreate.php @@ -84,6 +84,11 @@ class UserCreate extends Command exit; } + if (strlen($password) < 6) { + $this->error('Must be 6 or more characters, please try again...'); + exit; + } + $is_admin = $this->confirm('Make this user an admin?'); $confirm_email = $this->confirm('Manually verify email address?');