小小修改,关键字调整

This commit is contained in:
HuYang 2020-12-24 17:39:12 +08:00
parent b50dd0a1ea
commit 872bf30aa6

View File

@ -33,7 +33,7 @@ def oauth0(request):
if redirecturl == "" :
# 必须用判断的方式否则url里提交redirecturl= 还是为空
redirecturl = "/"
if ("" in [username,timestamp,randstr,hashstr]) == False :
if "" not in [username,timestamp,randstr,hashstr] :
# 都不为空,才验证哦
# 1 、验证timestamp的时效性
nowtime = int (time.time())