Skip to content

Set type of email notification#947

Merged
ajibarra merged 2 commits intoCakeDC:8.nextfrom
ravage84:patch-7
Jan 10, 2025
Merged

Set type of email notification#947
ajibarra merged 2 commits intoCakeDC:8.nextfrom
ravage84:patch-7

Conversation

@ravage84
Copy link
Contributor

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

@ravage84
Copy link
Contributor Author

By the way, I haven't checked whether there are other places to adjust.

'expiration' => Configure::read('Users.Token.expiration'),
'checkActive' => false,
'sendEmail' => true,
'type' => 'passord',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a typo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:embarrassing: Fixed

@steinkel
Copy link
Member

Please could you describe the use case when email is not being sent? I'd like to cover it with a unit test.

Thanks,

@ravage84
Copy link
Contributor Author

Please could you describe the use case when email is not being sent? I'd like to cover it with a unit test.

Thanks,

I think we tried to send the reset password link through the CLI, thus the adjusted Shell class, but no mail was sent due to the recent change mentioned.

@steinkel
Copy link
Member

Thank you, we'll try to reproduce the issue in a unit test and fix it, thanks!

@steinkel
Copy link
Member

well, you fix it already ;) I mean merge it

@steinkel steinkel self-assigned this Jul 5, 2021
@ajibarra ajibarra changed the base branch from 8.next to 13.next-cake4 January 10, 2025 11:09
@ajibarra ajibarra changed the base branch from 13.next-cake4 to 8.next January 10, 2025 11:29
@ajibarra ajibarra merged commit 3e8c7bd into CakeDC:8.next Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants