diff --git a/app/Console/Commands/UserCreate.php b/app/Console/Commands/UserCreate.php index 6bae0cb5..77c17509 100644 --- a/app/Console/Commands/UserCreate.php +++ b/app/Console/Commands/UserCreate.php @@ -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!');