Use uuid4 instead of uuid1

pull/12/head
Sheng 2018-03-17 18:08:35 +08:00
parent dd7a04b2d4
commit 7bb9e362c0
1 changed files with 1 additions and 1 deletions

View File

@ -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
}