commit 7bb9e362c0e0af2a15b953831df917035ab82e38
parent dd7a04b2d48b9be8203d52cbf8b84a57a8d4e258
Author: Sheng <webmaster0115@gmail.com>
Date: Sat, 17 Mar 2018 18:08:35 +0800
Use uuid4 instead of uuid1
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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
}