去掉打印值
parent
2514d98173
commit
c290f2e1df
|
@ -27,7 +27,6 @@ def get_request_user(request, authenticate=True):
|
||||||
if user and user.is_authenticated:
|
if user and user.is_authenticated:
|
||||||
return user
|
return user
|
||||||
user, tokrn = OpAuthJwtAuthentication().authenticate(request)
|
user, tokrn = OpAuthJwtAuthentication().authenticate(request)
|
||||||
print(22, user)
|
|
||||||
return user or AnonymousUser()
|
return user or AnonymousUser()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue