修改登录页面
This commit is contained in:
@@ -58,7 +58,7 @@ const loginService = {
|
||||
|
||||
const userId = await userService.insert(c, { email, password: hash, salt, type: roleRow.roleId });
|
||||
|
||||
await userService.updateUserInfo(c, userId);
|
||||
await userService.updateUserInfo(c, userId, true);
|
||||
|
||||
await accountService.insert(c, { userId: userId, email });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user