Skip to content

Commit

Permalink
Fix illegal key
Browse files Browse the repository at this point in the history
  • Loading branch information
raidensakura committed Apr 1, 2024
1 parent 8698bd4 commit d541bba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions logviewer/core/servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d541bba

Please sign in to comment.