|
@@ -425,8 +425,8 @@ class v3ChangePwdView(TemplateView):
|
|
|
except Exception as e:
|
|
|
return response.json(111)
|
|
|
else:
|
|
|
- if oldPwd is None and newPwd is None:
|
|
|
- return response.json(800)
|
|
|
+ if oldPwd is None or newPwd is None or len(newPwd) < 6:
|
|
|
+ return response.json(111)
|
|
|
tko = TokenObject(token)
|
|
|
response.lang = tko.lang
|
|
|
if tko.code != 0:
|