mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 21:43:17 +00:00
Update UserCreate.php
This commit is contained in:
parent
66ab7491a3
commit
6c69b30870
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class UserCreate extends Command
|
|||
$user->email = $o['email'];
|
||||
$user->password = bcrypt($o['password']);
|
||||
$user->is_admin = (bool) $o['is_admin'];
|
||||
$user->email_verified_at = (bool) $o['confirm_email'] ? now() : null;
|
||||
$user->email_verified_at = $o['confirm_email'] ? now() : null;
|
||||
$user->save();
|
||||
|
||||
$this->info('Successfully created user!');
|
||||
|
|
Loading…
Reference in a new issue