aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-06-13 08:56:55 +0300
committerFrederick Muriuki Muriithi2023-06-13 08:57:50 +0300
commit2fe108a98504d51d012d1c875dc47544787093b3 (patch)
treed155690a6e11749bab17d6678ef5a75b7cb579d4 /wqflask
parent81ed7cd35da435d96a735d292462f700f83c8eb0 (diff)
downloadgenenetwork2-2fe108a98504d51d012d1c875dc47544787093b3.tar.gz
Namespace session variable.
Namespace the session variable name to avoid conflicts with other systems served on the same domain.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/oauth2/session.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/oauth2/session.py b/wqflask/wqflask/oauth2/session.py
index ec878f50..0e5896d5 100644
--- a/wqflask/wqflask/oauth2/session.py
+++ b/wqflask/wqflask/oauth2/session.py
@@ -22,7 +22,7 @@ class SessionInfo(TypedDict):
ip_addr: str
masquerade: Optional[UserDetails]
-__SESSION_KEY__ = "session_info" # Do not use this outside this module!!
+__SESSION_KEY__ = "GN::2::session_info" # Do not use this outside this module!!
def clear_session_info():
"""Clears the session."""