mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
add password to --connect command in flutter, --connect id [passord]
This commit is contained in:
@@ -87,6 +87,7 @@ pub fn session_add_sync(
|
||||
is_port_forward: bool,
|
||||
switch_uuid: String,
|
||||
force_relay: bool,
|
||||
password: String,
|
||||
) -> SyncReturn<String> {
|
||||
if let Err(e) = session_add(
|
||||
&id,
|
||||
@@ -94,6 +95,7 @@ pub fn session_add_sync(
|
||||
is_port_forward,
|
||||
&switch_uuid,
|
||||
force_relay,
|
||||
password,
|
||||
) {
|
||||
SyncReturn(format!("Failed to add session with id {}, {}", &id, e))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user