diff --git a/plugins/login-resources/src/components/Join.svelte b/plugins/login-resources/src/components/Join.svelte index c3c751ca56..1d48d7d763 100644 --- a/plugins/login-resources/src/components/Join.svelte +++ b/plugins/login-resources/src/components/Join.svelte @@ -76,7 +76,7 @@ setMetadata(login.metadata.LoginToken, result.token) const tokens: Record = fetchMetadataLocalStorage(login.metadata.LoginTokens) ?? {} tokens[result.workspace] = result.token - setMetadataLocalStorage(login.metadata.LoginToken, result.token) + setMetadataLocalStorage(login.metadata.LoginTokens, tokens) setMetadataLocalStorage(login.metadata.LoginEndpoint, result.endpoint) setMetadataLocalStorage(login.metadata.LoginEmail, result.email) navigate({ path: [workbenchId, result.workspace] })