An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix splash not using onetime-password when changing peer tab
21pagesd2c84c5fc2a3
diff --git a/flutter/lib/models/server_model.dart b/flutter/lib/models/server_model.dartindex e48ceef42..8f56ffbe2 100644--- a/flutter/lib/models/server_model.dart+++ b/flutter/lib/models/server_model.dart@@ -197,17 +197,18 @@ class ServerModel with ChangeNotifier {_approveMode = approveMode;update = true;}- final oldPwdText = _serverPasswd.text;- if (_serverPasswd.text != temporaryPassword &&- temporaryPassword.isNotEmpty) {- _serverPasswd.text = temporaryPassword;- }var stopped = option2bool("stop-service", await bind.mainGetOption(key: "stop-service"));+ final oldPwdText = _serverPasswd.text;if (stopped ||verificationMethod == kUsePermanentPassword ||_approveMode == 'click') {_serverPasswd.text = '-';+ } else {+ if (_serverPasswd.text != temporaryPassword &&+ temporaryPassword.isNotEmpty) {+ _serverPasswd.text = temporaryPassword;+ }}if (oldPwdText != _serverPasswd.text) {update = true;