mirror of https://github.com/huashengdun/webssh
Use uuid4 instead of uuid1
parent
dd7a04b2d4
commit
7bb9e362c0
2
main.py
2
main.py
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue