aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-18 09:10:51 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-18 09:10:51 +0100
commit11c04dcea149d7d2f7ba50992b378ec33b79a3fc (patch)
tree280902f7d97ed515488d88dc96b3a96b67ec27ee
parentapp -> application (diff)
downloadnewspipe-11c04dcea149d7d2f7ba50992b378ec33b79a3fc.tar.gz
newspipe-11c04dcea149d7d2f7ba50992b378ec33b79a3fc.tar.bz2
newspipe-11c04dcea149d7d2f7ba50992b378ec33b79a3fc.zip
New environment variable for the token salt on Heroku.
-rw-r--r--app.json1
-rw-r--r--src/conf.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/app.json b/app.json
index 30610806..de17707b 100644
--- a/app.json
+++ b/app.json
@@ -17,6 +17,7 @@
"ADMIN_EMAIL": "root@jarr.localhost",
"ADMIN_PASSWORD": "password",
"SECRET_KEY": "a secret only you know in order to use sessions",
+ "SECURITY_PASSWORD_SALT": "a secret to confirm user account",
"NOTIFICATION_EMAIL": "JARR@no-reply.com",
"RECAPTCHA_PRIVATE_KEY": "REDACTED",
"RECAPTCHA_PUBLIC_KEY": "REDACTED",
diff --git a/src/conf.py b/src/conf.py
index 5c96fea8..31fe20c4 100644
--- a/src/conf.py
+++ b/src/conf.py
@@ -36,6 +36,7 @@ DEFAULTS = {"platform_url": "https://jarr.herokuapp.com/",
"log_level": "info",
"user_agent": "JARR (https://github.com/JARR-aggregator)",
"secret_key": "",
+ "security_password_salt", "",
"enabled": "false",
"notification_email": "jarr@no-reply.com",
"tls": "false",
bgstack15