aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/app_sessions.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/app_sessions.py b/app/app_sessions.py
index 7a931d5..9f46404 100644
--- a/app/app_sessions.py
+++ b/app/app_sessions.py
@@ -17,10 +17,10 @@ SessionManager = partial(SessionMiddleware, secret_key=cookie_key)
17 17
18class FlashMessageQueue: 18class FlashMessageQueue:
19 """ 19 """
20 Session decorator for managing session flash messages to be displayed to 20 Session proxy for managing session flash messages to be displayed to the
21 the user from one page to another. This suits confirmation and error 21 user from one page to another. This suits confirmation and error messages.
22 messages. Messages are stored in the session cookie, which is limited in 22 Messages are stored in the session cookie, which is limited in size to
23 size to about 4kb. 23 about 4kb.
24 """ 24 """
25 25
26 def __init__(self, request: Request): 26 def __init__(self, request: Request):
@@ -44,7 +44,7 @@ class FlashMessageQueue:
44 44
45class UserSession: 45class UserSession:
46 """ 46 """
47 Session decorator for managing user login sessions. 47 Session proxy for managing user login sessions.
48 """ 48 """
49 49
50 def __init__(self, request: Request): 50 def __init__(self, request: Request):