mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-17 10:11:01 +03:00
no password required for file transfer action in remote control menu (#9731)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -1126,6 +1126,7 @@ pub fn session_add(
|
||||
force_relay: bool,
|
||||
password: String,
|
||||
is_shared_password: bool,
|
||||
conn_token: Option<String>,
|
||||
) -> ResultType<FlutterSession> {
|
||||
let conn_type = if is_file_transfer {
|
||||
ConnType::FILE_TRANSFER
|
||||
@@ -1180,6 +1181,7 @@ pub fn session_add(
|
||||
force_relay,
|
||||
get_adapter_luid(),
|
||||
shared_password,
|
||||
conn_token,
|
||||
);
|
||||
|
||||
let session = Arc::new(session.clone());
|
||||
|
||||
Reference in New Issue
Block a user