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'));