Use uuid4 instead of uuid1
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user