aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-27 18:05:13 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-27 18:05:13 +0100
commita33bb0ab42d040ad264ade9afc59ccff5bb86ed7 (patch)
tree9377aa8d962d35517a23a65f2b403c90a26bcae6 /pyaggr3g470r
parentRemoved debug tool bar. (diff)
downloadnewspipe-a33bb0ab42d040ad264ade9afc59ccff5bb86ed7.tar.gz
newspipe-a33bb0ab42d040ad264ade9afc59ccff5bb86ed7.tar.bz2
newspipe-a33bb0ab42d040ad264ade9afc59ccff5bb86ed7.zip
SECRET_KEY is set by os.urandom(12).
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/__init__.py b/pyaggr3g470r/__init__.py
index f5d9b852..d4079300 100644
--- a/pyaggr3g470r/__init__.py
+++ b/pyaggr3g470r/__init__.py
@@ -18,7 +18,7 @@ app = Flask(__name__)
app.debug = True
# Create dummy secrey key so we can use sessions
-app.config['SECRET_KEY'] = conf.WEBSERVER_SECRETKEY
+app.config['SECRET_KEY'] = os.urandom(12)
app.config['MONGODB_SETTINGS'] = {'DB': conf.DATABASE_NAME}
app.config["MAIL_SERVER"] = conf.MAIL_HOST
bgstack15