浏览代码

fix: user update sync

ryanemax 10 月之前
父节点
当前提交
082c764760
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      server/cloud/authing/func-authing-session-sync.js

+ 2 - 0
server/cloud/authing/func-authing-session-sync.js

@@ -55,6 +55,8 @@ async function syncSessionWithIdToken(token){
     SET 
     "username" = excluded."username",
     "updatedAt"=excluded."updatedAt",
+    "mobile"=excluded."mobile",
+    "phone"=excluded."phone",
     "lastIP"=excluded."lastIP",
     "lastLogin"=excluded."lastLogin",
     "userSourceType"=excluded."userSourceType",