From 691db40c1b0e16369c51d251749930d77b1e3a59 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 15 Feb 2022 17:05:08 -0500 Subject: suppress useless stuff from auth --- stackbin_auth.py | 4 ++-- 1 file 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! -- cgit