diff options
author | Frederick Muriuki Muriithi | 2023-06-13 08:56:55 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-06-13 08:57:50 +0300 |
commit | 2fe108a98504d51d012d1c875dc47544787093b3 (patch) | |
tree | d155690a6e11749bab17d6678ef5a75b7cb579d4 | |
parent | 81ed7cd35da435d96a735d292462f700f83c8eb0 (diff) | |
download | genenetwork2-2fe108a98504d51d012d1c875dc47544787093b3.tar.gz |
Namespace session variable.
Namespace the session variable name to avoid conflicts with other
systems served on the same domain.
-rw-r--r-- | wqflask/wqflask/oauth2/session.py | 2 |
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.""" |