// BugFix : Problem with account creation and OPC

This commit is contained in:
mDeflotte
2011-12-06 10:05:00 +00:00
parent 98ce6a09f4
commit 57e2258ef6
+1
View File
@@ -501,6 +501,7 @@ class AuthControllerCore extends FrontController
{
if (!$customer->is_guest)
{
$this->context->customer = $customer;
$customer->cleanGroups();
// we add the guest customer in the default customer group
$customer->addGroups(array((int)Configuration::get('PS_CUSTOMER_GROUP')));