Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update log message when sending account creation email #1206

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

greenscientist
Copy link
Collaborator

Update the message to make it clear that we send both a user and admins messages

Update the message to make it clear that we send both a user and admins messages
@@ -154,7 +154,7 @@ export const sendConfirmationEmail = async (
emails.forEach(async (email) => {
await sendEmail(email, { userConfirmationUrl: { url: options.confirmUrl }, usermail: user.email });
});
console.log('Email sent for account confirmation');
console.log('Emails (admins and user) sent for account confirmation');
Copy link
Collaborator

Choose a reason for hiding this comment

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

En fait, on ne sait pas si c'est admin and user, ça dépend de la config, ça peut être juste le user si on a confirmByUser. Donc admin and/or user serait plus juste.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Bon, encore mieux, je devrais checker le length de emails, et dire XX Emails (admins and/or user) sent for account confirmation

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