Skip to content

Commit 8db2f5a

Browse files
ravage84ajibarra
authored andcommitted
Set type of email notification
Without this no email is sent. This has become necessary after the following change from #685 https://github.com/CakeDC/users/pull/685/files#diff-087e5d4ddeb9b25aa37f089c2ce923ee418537310623b29d393404528f1797a3R73-R80
1 parent f8c1876 commit 8db2f5a

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
@@ -275,6 +275,7 @@ public function passwordEmail()
275275
'expiration' => Configure::read('Users.Token.expiration'),
276276
'checkActive' => false,
277277
'sendEmail' => true,
278+
'type' => 'passord',
278279
]);
279280
if ($resetUser) {
280281
$msg = __d(

0 commit comments

Comments
 (0)