// BugFix : Problem with account creation and OPC
This commit is contained in:
@@ -501,6 +501,7 @@ class AuthControllerCore extends FrontController
|
|||||||
{
|
{
|
||||||
if (!$customer->is_guest)
|
if (!$customer->is_guest)
|
||||||
{
|
{
|
||||||
|
$this->context->customer = $customer;
|
||||||
$customer->cleanGroups();
|
$customer->cleanGroups();
|
||||||
// we add the guest customer in the default customer group
|
// we add the guest customer in the default customer group
|
||||||
$customer->addGroups(array((int)Configuration::get('PS_CUSTOMER_GROUP')));
|
$customer->addGroups(array((int)Configuration::get('PS_CUSTOMER_GROUP')));
|
||||||
|
|||||||
Reference in New Issue
Block a user