From 436d71bb44da5a602baef493dd295b10619bba16 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Wed, 14 Aug 2019 12:06:00 +0530 Subject: [PATCH] merge with master --- .../Customer/src/Http/Controllers/RegistrationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php index 2b58ed665..53c72926f 100755 --- a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php +++ b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php @@ -75,7 +75,7 @@ class RegistrationController extends Controller $data['is_verified'] = 1; } - $data['customer_group_id'] = 1; + $data['customer_group_id'] = $this->customerGroup->findOneWhere(['code' => 'general'])->id; $verificationData['email'] = $data['email']; $verificationData['token'] = md5(uniqid(rand(), true));