aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-05-03 18:25:44 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-05-03 18:25:44 +0200
commit11076988b2f9d871cc03095e864354da30a56726 (patch)
treea0c9ee8b3c1eecebdcd6245fe79447d34364e546
parentUppdated translations. (diff)
downloadnewspipe-11076988b2f9d871cc03095e864354da30a56726.tar.gz
newspipe-11076988b2f9d871cc03095e864354da30a56726.tar.bz2
newspipe-11076988b2f9d871cc03095e864354da30a56726.zip
Changed variable 'notification_sender' to 'notification_email'.
-rw-r--r--app.json3
-rw-r--r--conf.py4
-rw-r--r--conf/conf.cfg-sample2
3 files changed, 4 insertions, 5 deletions
diff --git a/app.json b/app.json
index faf4545c..3765c1b1 100644
--- a/app.json
+++ b/app.json
@@ -14,11 +14,10 @@
"env": {
"HEROKU": "1",
"ADMIN_EMAIL": "root@pyAggr3g470r.localhost",
- "NOTIFICATION_SENDER": "pyAggr3g470r@no-reply.com",
"ADMIN_PASSWORD": "password",
+ "NOTIFICATION_EMAIL": "pyAggr3g470r@no-reply.com",
"RECAPTCHA_PRIVATE_KEY": "REDACTED",
"RECAPTCHA_PUBLIC_KEY": "REDACTED",
- "NOTIFICATION_EMAIL": "REDACTED",
"POSTMARK_API_KEY": "REDACTED"
},
"addons": [
diff --git a/conf.py b/conf.py
index 696ecf97..5704ab83 100644
--- a/conf.py
+++ b/conf.py
@@ -37,7 +37,7 @@ DEFAULTS = {"platform_url": "https://pyaggr3g470r.herokuapp.com/",
"http_proxy": "",
"secret": "",
"enabled": "false",
- "notification_sender": "pyAggr3g470r@no-reply.com",
+ "notification_email": "pyAggr3g470r@no-reply.com",
"tls": "false",
"ssl": "true",
"host": "0.0.0.0",
@@ -102,7 +102,7 @@ WEBSERVER_HOST = config.get('webserver', 'host')
WEBSERVER_PORT = config.getint('webserver', 'port')
WEBSERVER_SECRET = config.get('webserver', 'secret')
-NOTIFICATION_EMAIL = config.get('notification', 'notification_sender')
+NOTIFICATION_EMAIL = config.get('notification', 'notification_email')
NOTIFICATION_HOST = config.get('notification', 'host')
NOTIFICATION_PORT = config.getint('notification', 'port')
NOTIFICATION_TLS = config.getboolean('notification', 'tls')
diff --git a/conf/conf.cfg-sample b/conf/conf.cfg-sample
index 6e6cae54..80afcbe3 100644
--- a/conf/conf.cfg-sample
+++ b/conf/conf.cfg-sample
@@ -19,7 +19,7 @@ http_proxy =
user_agent = pyAggr3g470r (https://bitbucket.org/cedricbonhomme/pyaggr3g470r)
resolve_article_url = false
[notification]
-notification_sender = pyAggr3g470r@no-reply.com
+notification_email = pyAggr3g470r@no-reply.com
host = smtp.googlemail.com
port = 465
tls = false
bgstack15