Эх сурвалжийг харах

创建账号新增用户活跃字段

locky 5 сар өмнө
parent
commit
5d514bcf1a

+ 3 - 1
Controller/SerialNumberController.py

@@ -1052,7 +1052,9 @@ class SerialNumberView(View):
                     'userID': user_id,
                     'username': username,
                     'NickName': username,
-                    'password': password
+                    'password': password,
+                    'is_active': True,
+                    'user_isValid': True
                 }
                 # 判断用户名是手机号还是邮箱
                 if DataValid().mobile_validate(username):