aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stackbin_auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/stackbin_auth.py b/stackbin_auth.py
index 5c12311..3462980 100644
--- a/stackbin_auth.py
+++ b/stackbin_auth.py
@@ -16,8 +16,8 @@ def requires_session(function):
return Response("User is not in this session.",401)
s_user = session['user']
c_user = request.cookies.get('user')
- print(f"session user: {s_user}")
- print(f"cookie user: {c_user}")
+ #print(f"session user: {s_user}")
+ #print(f"cookie user: {c_user}")
if session['user'] != c_user:
return Response("Wrong user for this session!.",401)
# otherwise, everything is good!
bgstack15