Browse Source

fix: user update sync

ryanemax 8 months ago
parent
commit
082c764760
1 changed files with 2 additions and 0 deletions
  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",