mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-12 19:06:13 +02:00
parent
e8ea2f383f
commit
c69d59596b
4 changed files with 38 additions and 21 deletions
|
@ -202,7 +202,10 @@ class ServerModel with ChangeNotifier {
|
|||
temporaryPassword.isNotEmpty) {
|
||||
_serverPasswd.text = temporaryPassword;
|
||||
}
|
||||
if (verificationMethod == kUsePermanentPassword ||
|
||||
var stopped = option2bool(
|
||||
"stop-service", await bind.mainGetOption(key: "stop-service"));
|
||||
if (stopped ||
|
||||
verificationMethod == kUsePermanentPassword ||
|
||||
_approveMode == 'click') {
|
||||
_serverPasswd.text = '-';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue