From 6c69b30870f79618c470d2cf8a0c652b877355f0 Mon Sep 17 00:00:00 2001 From: Shlee Date: Sat, 21 May 2022 15:53:47 +0930 Subject: [PATCH] Update UserCreate.php --- app/Console/Commands/UserCreate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/UserCreate.php b/app/Console/Commands/UserCreate.php index 6bae0cb57..77c175090 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!');