fix refresh & save new token error

This commit is contained in:
tickstep
2024-03-03 09:11:58 +08:00
parent 69b76a15ca
commit bec492fe65
4 changed files with 76 additions and 6 deletions
+1
View File
@@ -85,6 +85,7 @@ func checkLoginExpiredAndRelogin() {
} else {
// 刷新过期Token并保存到配置文件
command.RefreshWebTokenInNeed(activeUser, config.Config.DeviceName)
command.RefreshOpenTokenInNeed(activeUser)
}
command.SaveConfigFunc(nil)
}