From a80722ff791c4fe5ef32a55c77a22f5649460447 Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 29 Jan 2026 16:41:16 -0600 Subject: [PATCH] Fix auth re-login error updating vuex state --- components/connection/ServerConnectForm.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/connection/ServerConnectForm.vue b/components/connection/ServerConnectForm.vue index bf76e7c4..54774d87 100644 --- a/components/connection/ServerConnectForm.vue +++ b/components/connection/ServerConnectForm.vue @@ -951,8 +951,9 @@ export default { init() { if (this.$route.query.serverConnectionConfigId) { // Handle force re-login for servers using new JWT auth but still using an old token OR refresh token failed - this.serverConfig = this.serverConnectionConfigs.find((scc) => scc.id === this.$route.query.serverConnectionConfigId) - if (this.serverConfig) { + const _serverConfig = this.serverConnectionConfigs.find((scc) => scc.id === this.$route.query.serverConnectionConfigId) + if (_serverConfig) { + this.serverConfig = { ..._serverConfig } this.setForceRelogin(this.$route.query.error) return } else {