fix: correct localStorage key for WebSocket auth token

The WebSocket code in logs.ts was reading from 'token' instead of
'charon_auth_token', causing all WebSocket connections to fail
authentication with 401 errors. This resulted in the Security
Dashboard Live Log Viewer showing "Disconnected" with rapid
connect/disconnect cycling.

- Changed localStorage key from 'token' to 'charon_auth_token'
- Both connectLiveLogs and connectSecurityLogs functions updated
This commit is contained in:
GitHub Actions
2025-12-16 05:08:14 +00:00
parent 83030d7964
commit 898066fb59
4 changed files with 1974 additions and 1731 deletions
+164 -1672
View File
File diff suppressed because it is too large Load Diff