diff --git a/app/Jobs/User/CreateUser.php b/app/Jobs/User/CreateUser.php index ff87a5a237..79314d22aa 100644 --- a/app/Jobs/User/CreateUser.php +++ b/app/Jobs/User/CreateUser.php @@ -64,7 +64,7 @@ class CreateUser $user->accepted_terms_version = config('ninja.terms_version'); $user->confirmation_code = $this->createDbHash(config('database.default')); $user->fill($this->request); - $user->email = $this->request(['email']);//todo need to remove this in production + $user->email = $this->request['email'];//todo need to remove this in production $user->save(); $user->companies()->attach($this->company->id, [