cookie_secret works much better if we use it...

This commit is contained in:
Davide Alberani 2017-03-27 22:22:13 +02:00
parent ed21f8e05a
commit 1eb8e9d076

View file

@ -1179,7 +1179,7 @@ def run():
], ],
template_path=os.path.join(os.path.dirname(__file__), "templates"), template_path=os.path.join(os.path.dirname(__file__), "templates"),
static_path=os.path.join(os.path.dirname(__file__), "static"), static_path=os.path.join(os.path.dirname(__file__), "static"),
cookie_secret='__COOKIE_SECRET__', cookie_secret=cookie_secret,
login_url='/login', login_url='/login',
debug=options.debug) debug=options.debug)
http_server = tornado.httpserver.HTTPServer(application, ssl_options=ssl_options or None) http_server = tornado.httpserver.HTTPServer(application, ssl_options=ssl_options or None)