[-] MO : #PSTEST-303 - Send email verification
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12351 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -229,6 +229,8 @@ class Blocknewsletter extends Module
|
||||
if (!$token = $this->getToken($email, $register_status))
|
||||
return $this->error = $this->l('Error during subscription');
|
||||
|
||||
$this->sendVerificationEmail($email, $token);
|
||||
|
||||
return $this->valid = $this->l('A verification email has been sent. Please check your email.');
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user