feat: store rdp, vnc and telnet logins in a generic per-protocol table

This commit is contained in:
LukeGus committed 2026-09-29 12:33:09 -05:00
1 parent e0c30a4e6f
commit bba06f7ff6
107 files changed
+18750 -1224

No files matched your search

@@ -45,6 +45,7 @@ import {
isQuickConnectHost,
protocolEnabled,
type Protocol,
rdpDomain,
type RemoteHostLogin,
} from "./host-remote";
import { remoteDesktopForm } from "./remote-form";
@@ -249,8 +250,8 @@ function registerNativeRdp(app: TermixApp): void {
void openNativeRdp({
host: String(record.ip ?? ""),
port: hostRemoteOptions(record).rdpPort,
username: record.rdpUser,
domain: record.domain,
username: record.protocolAuth?.rdp?.username ?? undefined,
domain: rdpDomain(record),
})
.then((result) => {
if (result.success) toast.success(app.t("hosts.nativeRdpOpened"));