// BugFix : Problem with account creation and OPC
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10970 b9a71923-0436-4b27-9f14-aed3839534dd
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