mirror of
https://github.com/mttaggart/crux
synced 2026-06-08 16:14:00 +00:00
Track session or token
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user