bugfix
This commit is contained in:
parent
ec30b57b23
commit
923836952f
@ -41,6 +41,9 @@ class CustomTktAuth(auth.SessionTktAuthentication):
|
|||||||
client_ip=ip,
|
client_ip=ip,
|
||||||
user_data=client_uuid)
|
user_data=client_uuid)
|
||||||
|
|
||||||
|
def get_client_ip(obj, request):
|
||||||
|
return request['client_ip']
|
||||||
|
|
||||||
async def get_session_userinfo(request):
|
async def get_session_userinfo(request):
|
||||||
d = await auth.get_auth(request)
|
d = await auth.get_auth(request)
|
||||||
if d is None:
|
if d is None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user