浏览代码

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

locky 5 月之前
父节点
当前提交
5d514bcf1a
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Controller/SerialNumberController.py

+ 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):