Browse Source

修改密码退出用户登录

peng 11 months ago
parent
commit
e070e50cfe
1 changed files with 2 additions and 2 deletions
  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)
         new_bundle = APP_MAPPING.get(app_bundle_id, None)
         if password is None or authcode is None:
         if password is None or authcode is None:
             return response.json(444, 'password,authcode')
             return response.json(444, 'password,authcode')
-        # authcode = CommonService.decode_data(authcode.strip())
+        authcode = CommonService.decode_data(authcode.strip())
         if authcode is None:
         if authcode is None:
             return response.json(444, 'password,authcode')
             return response.json(444, 'password,authcode')
 
 
-        # password = CommonService.decode_data(password.strip())
+        password = CommonService.decode_data(password.strip())
         if password is None:
         if password is None:
             return response.json(444, 'password,authcode')
             return response.json(444, 'password,authcode')
         if phone is not None:
         if phone is not None: