From a33bb0ab42d040ad264ade9afc59ccff5bb86ed7 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 27 Oct 2013 18:05:13 +0100 Subject: SECRET_KEY is set by os.urandom(12). --- pyaggr3g470r/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r') 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 -- cgit