// fix problem about guest customer and default group id and the password display in the form (BO)

This commit is contained in:
vChabot committed 2011-12-26 14:31:15 +00:00
1 parent 20ae7c007e
commit 30fb231b26
3 files changed
+15 -5

No files matched your search

+1 -1
View File
@@ -396,7 +396,7 @@ class AuthControllerCore extends FrontController
if (!$customer->is_guest)
{
$customer->cleanGroups();
// we add the guest customer in the default customer group
// we add the customer in the default customer group
$customer->addGroups(array((int)Configuration::get('PS_CUSTOMER_GROUP')));
if (!$this->sendConfirmationMail($customer))
$this->errors[] = Tools::displayError('Cannot send email');