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

+1 -8
View File
@@ -116,14 +116,7 @@ export async function getSSHHostWithCredentials(
export async function getHostPassword(
hostId: number,
field:
| "password"
| "sudoPassword"
| "rdpPassword"
| "vncPassword"
| "telnetPassword"
| "key"
| "keyPassword" = "password",
field: "password" | "sudoPassword" | "key" | "keyPassword" = "password",
): Promise<string | null> {
try {
const response = await sshHostApi.get(