Commit 19b449c164e513c449241910d0cab703bae29c56
1 parent
9537862559
Exists in
master
verify workers from admin panel
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
app/Http/Controllers/Admin/UsersController.php
... | ... | @@ -108,7 +108,7 @@ class UsersController extends Controller |
108 | 108 | $password = $params['password']; |
109 | 109 | $params['password'] = Hash::make($password); |
110 | 110 | $params['pubpassword'] = base64_encode($password); |
111 | - | |
111 | + $params['email_verified_at'] = now(); | |
112 | 112 | $user = User::create($params); |
113 | 113 | $worker = new Worker(); |
114 | 114 | $worker->positions_work = isset($params['positions_work']) ? json_encode($params['positions_work']) : []; |