mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 08:37:15 +00:00
autoLogin and trustThisDevice are two different things
This commit is contained in:
1 parent
52f3ab0852
commit
ac8fc71b3b
6 files changed
+14
-14
No files matched your search
+1
-1
@@ -82,7 +82,7 @@ function editOSPassword(login=false) {
|
||||
if (!res) return;
|
||||
var a0 = handler.get_option('auto-login') != '';
|
||||
var p = (res.password || '').trim();
|
||||
var a = res.auto_login || false;
|
||||
var a = res.autoLogin || false;
|
||||
if (p == p0 && a == a0) return;
|
||||
if (p != p0) handler.set_option('os-password', p);
|
||||
if (a != a0) handler.set_option('auto-login', a ? 'Y' : '');
|
||||
|
||||
Reference in new issue
Block a user