Skip to content

Commit

Permalink
Set type of email notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 authored and ajibarra committed Jan 10, 2025
1 parent f8c1876 commit 8db2f5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Shell/UsersShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ public function passwordEmail()
'expiration' => Configure::read('Users.Token.expiration'),
'checkActive' => false,
'sendEmail' => true,
'type' => 'passord',
]);
if ($resetUser) {
$msg = __d(
Expand Down

0 comments on commit 8db2f5a

Please sign in to comment.