From 7bb9e362c0e0af2a15b953831df917035ab82e38 Mon Sep 17 00:00:00 2001 From: Sheng Date: Sat, 17 Mar 2018 18:08:35 +0800 Subject: [PATCH] Use uuid4 instead of uuid1 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b8131e6..373cf08 100644 --- a/main.py +++ b/main.py @@ -335,7 +335,7 @@ def main(): settings = { 'template_path': os.path.join(base_dir, 'templates'), 'static_path': os.path.join(base_dir, 'static'), - 'cookie_secret': uuid.uuid1().hex, + 'cookie_secret': uuid.uuid4().hex, 'xsrf_cookies': True }