mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
feat: store rdp, vnc and telnet logins in a generic per-protocol table
This commit is contained in:
1 parent
e0c30a4e6f
commit
bba06f7ff6
107 files changed
+18750
-1224
No files matched your search
@@ -99,14 +99,7 @@ export async function adminDeleteUserHost(
|
||||
export async function adminGetHostPassword(
|
||||
targetUserId: string,
|
||||
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(
|
||||
|
||||
Reference in new issue
Block a user