fix: Welcome emails should not be sent when inviting a user (#2132)
* chore: Bump nodemailer * fix: Welcome email sent to invites * test: Add regression test for emails from accountProvisioner
This commit is contained in:
@ -117,7 +117,7 @@ export default async function userCreator({
|
||||
throw err;
|
||||
}
|
||||
|
||||
return { user: invite, authentication: auth, isNewUser: false };
|
||||
return { user: invite, authentication: auth, isNewUser: true };
|
||||
}
|
||||
|
||||
// No auth, no user – this is an entirely new sign in.
|
||||
|
Reference in New Issue
Block a user