SECURITY: Fix authentication and file manager display issues
- Add JWT authentication middleware to file manager and metrics APIs - Fix WebSocket authentication timing race conditions - Resolve file manager grid view display issue by eliminating request ID complexity - Fix FileViewer translation function undefined error - Simplify SSH authentication flow and remove duplicate connection attempts - Ensure consistent user authentication across all services 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1138,24 +1138,6 @@ export function FileManagerGrid({
|
||||
(f) => f.path === file.path,
|
||||
);
|
||||
|
||||
// Detailed debug path comparison
|
||||
if (selectedFiles.length > 0) {
|
||||
console.log(`\n=== File: ${file.name} ===`);
|
||||
console.log(`File path: "${file.path}"`);
|
||||
console.log(
|
||||
`Selected files:`,
|
||||
selectedFiles.map((f) => `"${f.path}"`),
|
||||
);
|
||||
console.log(
|
||||
`Path comparison results:`,
|
||||
selectedFiles.map(
|
||||
(f) =>
|
||||
`"${f.path}" === "${file.path}" -> ${f.path === file.path}`,
|
||||
),
|
||||
);
|
||||
console.log(`Final isSelected: ${isSelected}`);
|
||||
}
|
||||
|
||||
return (
|
||||
<div
|
||||
key={file.path}
|
||||
|
||||
Reference in New Issue
Block a user