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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11767 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-12-26 14:31:15 +00:00
parent 4484464620
commit 232e8c2cc3
3 changed files with 15 additions and 5 deletions
+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');