提交 867f7bda 编写于 作者: C chenruilong 提交者: Anne_LXM

fix: 联登更新用户信息时存在手机号或者邮箱时没有设置认证状态

上级 ff232cbb
...@@ -200,6 +200,14 @@ module.exports = async function (params = {}) { ...@@ -200,6 +200,14 @@ module.exports = async function (params = {}) {
realData.identities = user.identities realData.identities = user.identities
} }
if (mobile) {
realData.mobile_confirmed = 1
}
if (email) {
realData.email_confirmed = 1
}
await userCollection.where(query).update(realData) await userCollection.where(query).update(realData)
return { return {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册