mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 04:20:45 +08:00
Reuse stored managed-NE credentials when opening WebCRT from topology.
Deep-link open was missing has_password/protocol, so SSH always prompted for login. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
71acbc747f
commit
bd97e1b875
4 changed files with 9 additions and 0 deletions
|
|
@ -1901,6 +1901,10 @@ export function WebcrtPage() {
|
|||
ip_address: row.ip_address,
|
||||
vendor: row.vendor,
|
||||
device_type: row.device_type,
|
||||
protocol: row.protocol || "ssh",
|
||||
username: row.username || "",
|
||||
has_password: Boolean(row.has_password),
|
||||
hop_enabled: Boolean(row.hop_enabled),
|
||||
connect_status: row.connect_status,
|
||||
cli_profile_ready: true,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -182,6 +182,8 @@ export type ManagedNeItem = {
|
|||
port: number;
|
||||
protocol: string;
|
||||
username: string;
|
||||
/** True when a password is stored server-side (secret never returned). */
|
||||
has_password?: boolean;
|
||||
connect_status: ConnectStatus;
|
||||
connect_message: string;
|
||||
connect_detail: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue