Commit 7bb9e362 by Sheng

Use uuid4 instead of uuid1

parent dd7a04b2
...@@ -335,7 +335,7 @@ def main(): ...@@ -335,7 +335,7 @@ def main():
settings = { settings = {
'template_path': os.path.join(base_dir, 'templates'), 'template_path': os.path.join(base_dir, 'templates'),
'static_path': os.path.join(base_dir, 'static'), 'static_path': os.path.join(base_dir, 'static'),
'cookie_secret': uuid.uuid1().hex, 'cookie_secret': uuid.uuid4().hex,
'xsrf_cookies': True 'xsrf_cookies': True
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment