[-] BO: You can now disable the email sent after account creation

This commit is contained in:
Rémi Gaillard
2013-05-03 17:01:12 +02:00
parent 50b7e77a0c
commit 63993a425b
4 changed files with 17 additions and 1 deletions
+3
View File
@@ -688,6 +688,9 @@ class AuthControllerCore extends FrontController
*/
protected function sendConfirmationMail(Customer $customer)
{
if (!Configuration::get('PS_CUSTOMER_CREATION_EMAIL'))
return true;
return Mail::Send(
$this->context->language->id,
'account',