mirror of
https://github.com/rustdesk/rustdesk
synced 2026-04-21 13:27:19 +00:00
Fix headless OS account password controller usage
Use the password controller instead of the username controller when saving the headless OS account password, and preserve surrounding whitespace.
This commit is contained in:
parent
8ddee758c1
commit
b9495ecf62
1 changed files with 1 additions and 1 deletions
|
|
@ -1450,7 +1450,7 @@ showSetOSAccount(
|
|||
dialogManager.show((setState, close, context) {
|
||||
submit() {
|
||||
final username = usernameController.text.trim();
|
||||
final password = usernameController.text.trim();
|
||||
final password = passwdController.text;
|
||||
bind.sessionPeerOption(
|
||||
sessionId: sessionId, name: 'os-username', value: username);
|
||||
bind.sessionPeerOption(
|
||||
|
|
|
|||
Loading…
Reference in a new issue