Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
replaced emails with environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Manke committed Sep 29, 2020
1 parent 2d03ca5 commit 9e6a94b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wui/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,17 @@


ADMINS = [
('Bioinfo Core', 'bioinfo-core@ie-freiburg.mpg.de'),
(os.environ['ADMIN_NAME'], os.environ['ADMIN_EMAIL']),
]


AUTH_USER_MODEL = 'common.User'


# Email config
EMAIL_HOST = 'mail.ie-freiburg.mpg.de'
EMAIL_HOST = os.environ['EMAIL_HOST']
EMAIL_SUBJECT_PREFIX = '[Parkour] '
SERVER_EMAIL = 'parkour_support@ie-freiburg.mpg.de'
SERVER_EMAIL = os.environ['SERVER_EMAIL']


LOGGING = {
Expand Down

0 comments on commit 9e6a94b

Please sign in to comment.