From 62898eb274971645302d5ed592c35539c70e0b31 Mon Sep 17 00:00:00 2001 From: iou1name Date: Wed, 23 Oct 2019 13:06:50 -0400 Subject: [PATCH] bug fix --- buckler_aiohttp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buckler_aiohttp.py b/buckler_aiohttp.py index a2c8ed6..bb10047 100644 --- a/buckler_aiohttp.py +++ b/buckler_aiohttp.py @@ -16,8 +16,8 @@ async def buckler_session(request, handler): Verifies the user with the configured Buckler app and retrieves any session data they may have. Redirects them to the login page otherwise. """ - user_id = request.cookies.get('userid') - user_sid = request.cookies.get('session') + user_id = request.cookies.get('userid', '') + user_sid = request.cookies.get('session', '') url = config.buckler['url'] + '/get_session' params = {