diff options
author | B. Stack <bgstack15@gmail.com> | 2022-02-15 17:05:08 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-02-15 17:05:08 -0500 |
commit | 691db40c1b0e16369c51d251749930d77b1e3a59 (patch) | |
tree | 549cf38259f3df250010a58a1b38723bbb383ea5 | |
parent | add libexec path to PYTHONPATH (diff) | |
download | stackbin-691db40c1b0e16369c51d251749930d77b1e3a59.tar.gz stackbin-691db40c1b0e16369c51d251749930d77b1e3a59.tar.bz2 stackbin-691db40c1b0e16369c51d251749930d77b1e3a59.zip |
suppress useless stuff from auth
-rw-r--r-- | stackbin_auth.py | 4 |
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! |