fix tokenId empty bug

This commit is contained in:
tickstep
2022-02-07 20:48:20 +08:00
parent ebbba140e3
commit b910776209
+1
View File
@@ -361,6 +361,7 @@ func (c *PanConfig) SetActiveUser(user *PanUser) *PanUser {
u.Nickname = user.Nickname
u.WebToken = user.WebToken
u.RefreshToken = user.RefreshToken
u.TokenId = user.TokenId
needToInsert = false
break
}