bug fix
This commit is contained in:
parent
f088ca1424
commit
62898eb274
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user