Skip to content

Commit

Permalink
chore: change default noreply address
Browse files Browse the repository at this point in the history
Refs: LINK-2164
  • Loading branch information
harriris-vincit committed Sep 13, 2024
1 parent ebc2794 commit 8177832
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion linkedevents/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def sentry_anonymize_user_repr(obj, hint):
DATABASE_URL=(str, "postgis:///linkedevents"),
DATABASE_PASSWORD=(str, ""),
DEBUG=(bool, False),
DEFAULT_FROM_EMAIL=(str, "noreply@linkedevents.hel.fi"),
DEFAULT_FROM_EMAIL=(str, "noreply-linkedevents@hel.fi"),
ELASTICSEARCH_URL=(str, None),
ELIS_EVENT_API_URL=(
str,
Expand Down
3 changes: 2 additions & 1 deletion registrations/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ def send_mass_html_mail(

def get_email_noreply_address():
return (
settings.DEFAULT_FROM_EMAIL or "noreply@%s" % Site.objects.get_current().domain
settings.DEFAULT_FROM_EMAIL
or "noreply-linkedevents@%s" % Site.objects.get_current().domain
)


Expand Down

0 comments on commit 8177832

Please sign in to comment.