From d541bba290427c0c1a34592612628a7a46569c51 Mon Sep 17 00:00:00 2001 From: Raiden Sakura Date: Mon, 1 Apr 2024 22:30:24 +0800 Subject: [PATCH] Fix illegal key --- logviewer/core/servers.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/logviewer/core/servers.py b/logviewer/core/servers.py index 794ab14..5d073f4 100644 --- a/logviewer/core/servers.py +++ b/logviewer/core/servers.py @@ -111,9 +111,7 @@ def init_hook(self) -> None: # max_age = 3 days setup( self.app, - EncryptedCookieStorage( - secret_key, cookie_name="Logviewer session", max_age=86400, secure=True, samesite=True - ), + EncryptedCookieStorage(secret_key, max_age=86400, secure=True, samesite=True), ) def _add_routes(self) -> None: