0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Added inviting user's email address as the reply-to address for staff invites

closes https://github.com/TryGhost/Team/issues/1501

- Staff invites previously came from the default site from-address, which is often a noreply
This commit is contained in:
Matt Hanley 2022-05-26 16:31:16 +01:00 committed by Matt Hanley
parent 558f2b3d0d
commit 96ca5252ba

View file

@ -52,6 +52,7 @@ class Invites {
mail: [{
message: {
to: invite.get('email'),
replyTo: emailData.invitedByEmail,
subject: tpl(messages.invitedByName, {
invitedByName: emailData.invitedByName,
blogName: emailData.blogName