diff --git a/app/Http/Controllers/Admin/UsersController.php b/app/Http/Controllers/Admin/UsersController.php index f9b2042..75016a3 100644 --- a/app/Http/Controllers/Admin/UsersController.php +++ b/app/Http/Controllers/Admin/UsersController.php @@ -108,7 +108,7 @@ class UsersController extends Controller $password = $params['password']; $params['password'] = Hash::make($password); $params['pubpassword'] = base64_encode($password); - + $params['email_verified_at'] = now(); $user = User::create($params); $worker = new Worker(); $worker->positions_work = isset($params['positions_work']) ? json_encode($params['positions_work']) : [];