From 9b8cffcc39eb28c40169f7989ea32b66ba45e68f Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 7 Sep 2026 11:41:41 +0100 Subject: [PATCH] Make password optional for a RDP Config --- launcher/actions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/launcher/actions.py b/launcher/actions.py index db227df..30b357b 100644 --- a/launcher/actions.py +++ b/launcher/actions.py @@ -75,7 +75,6 @@ class ActionDispatcher: rdp_bin, f"/v:{config['target']}", f"/u:{config['user']}", - f"/p:{config['password']}", "/auth-pkg-list:!kerberos,!u2u", "/sound", "/audio-mode:0", @@ -85,6 +84,9 @@ class ActionDispatcher: "/f" ] + if config.get('password', '') != "": + cmd.append(f"/p:{config['password']}") + if config.get('scale_desktop', '') != "": cmd.append(f"/scale-desktop:{config['scale_desktop']}")