Browse Source

APP修改密码不更新uid_set的密码

locky 5 months ago
parent
commit
f4df059dd5
1 changed files with 0 additions and 3 deletions
  1. 0 3
      Controller/EquipmentManagerV3.py

+ 0 - 3
Controller/EquipmentManagerV3.py

@@ -724,8 +724,6 @@ class EquipmentManagerV3(View):
                 if us_qs.exists():
                     if deviceData.__contains__('NickName'):
                         us_qs.update(nickname=nickname)
-                    if view_password:
-                        us_qs.update(pwd=view_password)
                 else:
                     ip = CommonService.get_ip_address(request)
                     ipInfo = CommonService.getIpIpInfo(ip, 'CN')
@@ -742,7 +740,6 @@ class EquipmentManagerV3(View):
                         'nickname': nickname,
                         'device_type': qs[0].Type,
                         'tb_country': country,
-                        'pwd': view_password
                     }
                     UidSetModel.objects.create(**uid_set_create_dict)
                 di_qs = Device_Info.objects.filter(UID=uid)