@@ -24,7 +24,7 @@ class EmailSender
2424
2525 public function sendValidationEmail (EntityInterface $ user , Email $ email = null )
2626 {
27- $ this ->getMailer ('CakeDC/Users.User ' ,
27+ $ this ->getMailer ('CakeDC/Users.Users ' ,
2828 $ this ->_getEmailInstance ($ email ))->send ('validation ' , [$ user , __d ('Users ' , 'Your account validation link ' )]
2929 );
3030 }
@@ -41,7 +41,7 @@ public function sendValidationEmail(EntityInterface $user, Email $email = null)
4141 */
4242 public function sendResetPasswordEmail (EntityInterface $ user , Email $ email = null , $ template = 'CakeDC/Users.reset_password ' )
4343 {
44- $ this ->getMailer ('CakeDC/Users.User ' ,
44+ $ this ->getMailer ('CakeDC/Users.Users ' ,
4545 $ this ->_getEmailInstance ($ email ))->send ('resetPassword ' , [$ user , $ template ]
4646 );
4747 }
@@ -61,7 +61,7 @@ public function sendSocialValidationEmail(EntityInterface $socialAccount, Entity
6161 } else {
6262 $ template = $ email ->template ()['template ' ];
6363 }
64- $ this ->getMailer ('CakeDC/Users.User ' ,
64+ $ this ->getMailer ('CakeDC/Users.Users ' ,
6565 $ this ->_getEmailInstance ($ email ))->send ('socialAccountValidation ' , [$ user , $ socialAccount , $ template ]
6666 );
6767 }
0 commit comments