mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-25 16:02:27 +00:00
Turn off usergenerated flags for email from our own addresses
News, docs and bugs are all sending from our own noreply addresses these days, so they should not be flagged as usergenerated (flagging as usergenerated will revent dkim signing, amongst other things)
This commit is contained in:
@ -339,7 +339,6 @@ def commentform(request, itemid, version, filename):
|
||||
'filename': filename,
|
||||
'details': form.cleaned_data['details'],
|
||||
},
|
||||
usergenerated=True,
|
||||
cc=form.cleaned_data['email'],
|
||||
replyto='%s, %s' % (form.cleaned_data['email'], settings.DOCSREPORT_EMAIL),
|
||||
sendername='PG Doc comments form'
|
||||
|
@ -48,7 +48,6 @@ def submitbug(request):
|
||||
'bugid': bugid,
|
||||
'bug': form.cleaned_data,
|
||||
},
|
||||
usergenerated=True,
|
||||
cc=form.cleaned_data['email'],
|
||||
replyto='%s, %s' % (form.cleaned_data['email'], settings.BUGREPORT_EMAIL),
|
||||
sendername="PG Bug reporting form",
|
||||
|
@ -98,5 +98,4 @@ def send_news_email(news):
|
||||
htmlbody=html,
|
||||
attachments=attachments,
|
||||
headers=headers,
|
||||
usergenerated=True,
|
||||
)
|
||||
|
Reference in New Issue
Block a user