Track session or token

This commit is contained in:
Michael Taggart
2022-07-18 19:05:33 -07:00
parent f2c0f878db
commit 3774b71c6a
+1 -1
View File
@@ -27,7 +27,7 @@ def get_cookie():
if request.json:
cookie = request.json["cookie"]
# Special styling for any session cookies
if "sess" in cookie["name"].lower() or cookie["session"]:
if "sess" in cookie["name"].lower() or "token" in cookie["name"].lower() or cookie["session"]:
style = "[white on yellow]"
style_close = "[/white on yellow]"
else: