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 127bb70 commit 5aa5229
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 @@ -239,6 +239,7 @@ public function passwordEmail()
'expiration' => Configure::read('Users.Token.expiration'),
'checkActive' => false,
'sendEmail' => true,
'type' => 'passord',
]);
if ($resetUser) {
$msg = __d('CakeDC/Users', 'Please ask the user to check the email to continue with password reset process');
Expand Down

0 comments on commit 5aa5229

Please sign in to comment.