From b01942c2df994013591a7ac3c63b94b9131972d4 Mon Sep 17 00:00:00 2001 From: Domko17 Date: Wed, 3 Nov 2021 16:19:30 +0100 Subject: [PATCH] append blank line @devansh-webkul --- .../Customer/src/Http/Controllers/RegistrationController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php index a56e98179..9e9758150 100755 --- a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php +++ b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php @@ -180,6 +180,7 @@ class RegistrationController extends Controller if ($customer) { $customer->update(['is_verified' => 1, 'token' => 'NULL']); + Order::where('customer_email', $customer->email)->update(['customer_id' => $customer->id]); session()->flash('success', trans('shop::app.customer.signup-form.verified'));