From 19b449c164e513c449241910d0cab703bae29c56 Mon Sep 17 00:00:00 2001 From: anazaryan Date: Mon, 16 Dec 2024 21:02:47 +0400 Subject: [PATCH] verify workers from admin panel --- app/Http/Controllers/Admin/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) : []; -- 1.7.10.4