Update UserCreate.php

pull/3535/head
Shlee 3 years ago committed by GitHub
parent 8059cf39ac
commit 330ed8ef82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,6 +38,8 @@ class UserCreate extends Command
*/
public function handle()
{
$this->info('Creating a new user...');
$o = $this->options();
@ -84,6 +86,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?');

Loading…
Cancel
Save