This commit is contained in:
parent
9194e897fe
commit
112e74284a
2
auth.py
2
auth.py
|
@ -30,6 +30,8 @@ async def request_data(gql, headers=None):
|
||||||
|
|
||||||
|
|
||||||
async def check_auth(req):
|
async def check_auth(req):
|
||||||
|
logger.info('checking auth token')
|
||||||
|
logger.debug(req)
|
||||||
token = req.headers.get("Authorization")
|
token = req.headers.get("Authorization")
|
||||||
user_id = ""
|
user_id = ""
|
||||||
if token:
|
if token:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user