瀏覽代碼

修改密码退出用户登录

peng 11 月之前
父節點
當前提交
e070e50cfe
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Controller/UserController.py

+ 2 - 2
Controller/UserController.py

@@ -3531,11 +3531,11 @@ class SingleLoginView(TemplateView):
         new_bundle = APP_MAPPING.get(app_bundle_id, None)
         if password is None or authcode is None:
             return response.json(444, 'password,authcode')
-        # authcode = CommonService.decode_data(authcode.strip())
+        authcode = CommonService.decode_data(authcode.strip())
         if authcode is None:
             return response.json(444, 'password,authcode')
 
-        # password = CommonService.decode_data(password.strip())
+        password = CommonService.decode_data(password.strip())
         if password is None:
             return response.json(444, 'password,authcode')
         if phone is not None: