Update UserCreate.php

pull/3507/head
Shlee 3 years ago committed by GitHub
parent 66ab7491a3
commit 6c69b30870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save