Skip to content

Commit

Permalink
Merge pull request #373 from betagouv/fix-change-sender-email
Browse files Browse the repository at this point in the history
fix: use notification for spamy email not individual ones
  • Loading branch information
rdubigny authored Nov 21, 2023
2 parents 598f361 + 57fc64e commit c92e1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/organization/authentication-by-peers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export const notifyAllMembers = async ({
subject: 'Votre organisation sur MonComptePro',
template: 'join-organization',
params: { user_label, libelle: cached_libelle, email, is_external },
senderEmail: '[email protected]',
});
}

Expand All @@ -136,7 +137,6 @@ export const notifyAllMembers = async ({
libelle: cached_libelle,
otherUsers,
},
senderEmail: '[email protected]',
});
}

Expand Down

0 comments on commit c92e1e2

Please sign in to comment.