diff --git a/src/backend/ssh/docker.ts b/src/backend/ssh/docker.ts index c6944a64..7147a0ba 100644 --- a/src/backend/ssh/docker.ts +++ b/src/backend/ssh/docker.ts @@ -80,10 +80,6 @@ function cleanupSession(sessionId: string) { } catch (error) {} clearTimeout(session.timeout); delete sshSessions[sessionId]; - dockerLogger.info("Docker SSH session cleaned up", { - operation: "session_cleanup", - sessionId, - }); } } @@ -472,7 +468,6 @@ app.post("/docker/ssh/connect", async (req, res) => { cleanupSession(sessionId); } - // Clean up any stale pending TOTP sessions if (pendingTOTPSessions[sessionId]) { try { pendingTOTPSessions[sessionId].client.end(); diff --git a/src/backend/ssh/terminal.ts b/src/backend/ssh/terminal.ts index b8b005ee..64223bfe 100644 --- a/src/backend/ssh/terminal.ts +++ b/src/backend/ssh/terminal.ts @@ -1017,7 +1017,6 @@ wss.on("connection", async (ws: WebSocket, req) => { finish(responses); }; - // Set timeout for TOTP response totpTimeout = setTimeout(() => { if (keyboardInteractiveFinish) { keyboardInteractiveFinish = null; @@ -1070,7 +1069,6 @@ wss.on("connection", async (ws: WebSocket, req) => { finish(responses); }; - // Set timeout for password response totpTimeout = setTimeout(() => { if (keyboardInteractiveFinish) { keyboardInteractiveFinish = null; diff --git a/src/locales/en.json b/src/locales/en.json index 272643a9..49e6a287 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1044,7 +1044,7 @@ "noneAuthDescription": "This authentication method will use keyboard-interactive authentication when connecting to the SSH server.", "noneAuthDetails": "Keyboard-interactive authentication allows the server to prompt you for credentials during connection. This is useful for servers that require multi-factor authentication or if you do not want to save credentials locally.", "forceKeyboardInteractive": "Force Keyboard-Interactive", - "forceKeyboardInteractiveDesc": "Forces the use of keyboard-interactive authentication. This is often required for servers that use Two-Factor Authentication (TOTP/2FA).", + "forceKeyboardInteractiveDesc": "Forces the use of keyboard-interactive authentication. This is sometimes required for servers that use Two-Factor Authentication (TOTP/2FA).", "overrideCredentialUsername": "Override Credential Username", "overrideCredentialUsernameDesc": "Use a different username than the one stored in the credential. This allows you to use the same credential with different usernames.", "jumpHosts": "Jump Hosts", @@ -1923,7 +1923,13 @@ "snippetsSettings": "Snippets", "currentPassword": "Current Password", "passwordChangedSuccess": "Password changed successfully! Please log in again.", - "failedToChangePassword": "Failed to change password. Please check your current password and try again." + "failedToChangePassword": "Failed to change password. Please check your current password and try again.", + "theme": "Theme", + "themeLight": "Light", + "themeDark": "Dark", + "themeSystem": "System", + "appearanceDesc": "Select the color theme for the application", + "terminalSyntaxHighlightingDesc": "Automatically highlight commands, paths, IPs, and log levels in terminal output" }, "user": { "failedToLoadVersionInfo": "Failed to load version information" diff --git a/src/ui/desktop/user/UserProfile.tsx b/src/ui/desktop/user/UserProfile.tsx index 47f86e06..ebb3f83f 100644 --- a/src/ui/desktop/user/UserProfile.tsx +++ b/src/ui/desktop/user/UserProfile.tsx @@ -430,10 +430,7 @@ export function UserProfile({ {t("leftSidebar.deleteAccount")}
- {t( - "leftSidebar.deleteAccountWarningShort", - "This action is not reversible and will permanently delete your account.", - )} + {t("leftSidebar.deleteAccountWarningShort")}