mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Feat: Windows connect to a specific user session (#6825)
* feat windows connect to specific user session Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix import Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix multiple user session fields Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix build Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix file transfer Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix text color on light theme Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * feat windows connect to specific user session code changes and sciter support Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * update texts Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix sciter selected user session Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * add translations Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * Use Y,N options * feat windows specific user code changes Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * Update dialog.dart * Update connection.rs * Update connection.rs * feat windows specific user code changes Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix sciter Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use lr.union Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * remove unused peer options Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * select user only when authorised and no existing connection Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * check for multiple users only once Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * optimise and add check for client version Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * use misc option message Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * update rdp user session proto Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix show cm on user session Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * Update pl.rs * update on_message Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix cm Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * remove user_session_id Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix cm Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> * fix multiple connections Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com> --------- Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "双重认证"),
|
||||
("Email verification code must be 6 characters.", "Email 验证码必须是 6 个字符。"),
|
||||
("2FA code must be 6 digits.", "双重认证代码必须是 6 位数字。"),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "Dvoufaktorová autentizace"),
|
||||
("Email verification code must be 6 characters.", "E-mailový ověřovací kód musí mít 6 znaků."),
|
||||
("2FA code must be 6 digits.", "Kód 2FA musí mít 6 číslic."),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "Zwei-Faktor-Authentifizierung"),
|
||||
("Email verification code must be 6 characters.", "Der E-Mail-Verifizierungscode muss aus 6 Zeichen bestehen."),
|
||||
("2FA code must be 6 digits.", "Der 2FA-Code muss 6 Ziffern haben."),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "Autenticación en dos pasos"),
|
||||
("Email verification code must be 6 characters.", "El código de verificación por mail debe tener 6 caracteres"),
|
||||
("2FA code must be 6 digits.", "El cóidigo 2FA debe tener 6 dígitos"),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "احراز هویت دو مرحله ای"),
|
||||
("Email verification code must be 6 characters.", "کد تأیید ایمیل باید 6 کاراکتر باشد"),
|
||||
("2FA code must be 6 digits.", "کد احراز هویت دو مرحله ای باید 6 رقم باشد"),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "Autenticazione a due fattori"),
|
||||
("Email verification code must be 6 characters.", "Il codice di verifica email deve contenere 6 caratteri."),
|
||||
("2FA code must be 6 digits.", "Il codice 2FA deve essere composto da 6 cifre."),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "Divu faktoru autentifikācija"),
|
||||
("Email verification code must be 6 characters.", "E-pasta verifikācijas kodam jābūt ar 6 rakstzīmēm."),
|
||||
("2FA code must be 6 digits.", "2FA kodam ir jābūt ar 6 cipariem."),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -585,5 +585,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "geef-2fa-titel in"),
|
||||
("Email verification code must be 6 characters.", "E-mailverificatiecode moet 6 tekens lang zijn."),
|
||||
("2FA code must be 6 digits.", "2FA-code moet 6 cijfers lang zijn."),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "Autoryzacja dwuskładnikowa"),
|
||||
("Email verification code must be 6 characters.", "Kod weryfikacyjny wysłany e-mailem musi mieć 6 znaków."),
|
||||
("2FA code must be 6 digits.", "Kod 2FA musi zawierać 6 cyfr."),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "Двухфакторная аутентификация"),
|
||||
("Email verification code must be 6 characters.", "Код подтверждения электронной почты должен состоять из 6 символов."),
|
||||
("2FA code must be 6 digits.", "Код двухфакторной аутентификации должен состоять из 6 цифр."),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "Dvojfaktorové overenie"),
|
||||
("Email verification code must be 6 characters.", "Overovací kód e-mailu musí mať 6 znakov."),
|
||||
("2FA code must be 6 digits.", "Kód 2FA musí obsahovať 6 číslic."),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", "二步驟驗證"),
|
||||
("Email verification code must be 6 characters.", "Email 驗證碼必須是 6 個字元。"),
|
||||
("2FA code must be 6 digits.", "二步驟驗證碼必須是 6 位數字。"),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
@@ -586,5 +586,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("enter-2fa-title", ""),
|
||||
("Email verification code must be 6 characters.", ""),
|
||||
("2FA code must be 6 digits.", ""),
|
||||
("Multiple active user sessions found", ""),
|
||||
("Please select the user you want to connect to", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user