mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-23 10:08:38 +02:00
The logout handler was clearing `multica_workspace_id` from storage, so re-login always defaulted to the first workspace. The workspace ID is a user preference, not session-sensitive data — keep it so both web and desktop restore the correct workspace after re-authentication. Also pass `lastWorkspaceId` in the desktop login page, which was previously missing.