Skip to content

Commit 3e8c7bd

Browse files
authored
Merge pull request #947 from ravage84/patch-7
Set type of email notification
2 parents 127bb70 + 27f794c commit 3e8c7bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Shell/UsersShell.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public function passwordEmail()
239239
'expiration' => Configure::read('Users.Token.expiration'),
240240
'checkActive' => false,
241241
'sendEmail' => true,
242+
'type' => 'password',
242243
]);
243244
if ($resetUser) {
244245
$msg = __d('CakeDC/Users', 'Please ask the user to check the email to continue with password reset process');

0 commit comments

Comments
 (0)