Resolved: incorrect id_guest in cookie after login

This commit is contained in:
Sumit Panwar
2023-01-28 18:09:33 +05:30
parent bfc54695e0
commit 125948ad01
7 changed files with 114 additions and 124 deletions

View File

@@ -1528,6 +1528,7 @@ class FrontControllerCore extends Controller
$this->context->cookie->is_guest = $customer->isGuest();
$this->context->cookie->passwd = $customer->passwd;
$this->context->cookie->email = $customer->email;
$this->context->cookie->id_guest = (int) $cart->id_guest;
return $id_cart;
}
}