Skip to content

Commit

Permalink
Mail sender should not use submitter's email address
Browse files Browse the repository at this point in the history
  • Loading branch information
kewubenduben committed Sep 23, 2013
1 parent 28288b4 commit c68fd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def mail_admins_sender(subject, message, sender, fail_silently=False,

mail = EmailMultiAlternatives(
u'%s%s' % (settings.EMAIL_SUBJECT_PREFIX, subject),
message, sender, [a[1] for a in settings.ADMINS],
message, settings.DEFAULT_FROM_EMAIL, [a[1] for a in settings.ADMINS],
connection=connection
)

Expand Down

0 comments on commit c68fd2d

Please sign in to comment.