aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
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