mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Merge pull request #3535 from shleeable/patch-10
artisan user:create - password must be 6 characters or more
This commit is contained in:
commit
c25347603b
1 changed files with 5 additions and 0 deletions
|
@ -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?');
|
||||
|
||||
|
|
Loading…
Reference in a new issue