From 2fe108a98504d51d012d1c875dc47544787093b3 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 13 Jun 2023 08:56:55 +0300 Subject: Namespace session variable. Namespace the session variable name to avoid conflicts with other systems served on the same domain. --- wqflask/wqflask/oauth2/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') 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.""" -- cgit v1.2.3