fix(auth): sync V2 CoreBridge authentication with legacy login

- Modified login/auto_login commands to also authenticate CoreBridge
- Modified logout command to also logout from CoreBridge
- Removed redundant v2_login call from LoginView.svelte frontend

This ensures both legacy AppState.client and V2 CoreBridge.QbzCore.client
are authenticated in sync, allowing V2 commands to work after login.
This commit is contained in:
vicrodh committed 2026-02-14 22:38:26 -06:00
1 parent 6b432586a7
commit 6778ef4ba6
2 files changed
+35 -1

No files matched your search

@@ -192,6 +192,8 @@
console.log('Login response:', response);
if (response.success) {
// V2 CoreBridge is now authenticated automatically by the backend login command
// Save credentials if "Remember me" is checked
if (rememberMe) {
try {