mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 20:31:27 +03:00
autoLogin and trustThisDevice are two different things
This commit is contained in:
@@ -1248,7 +1248,7 @@ function on_email_check(last_msg) {
|
||||
}
|
||||
abLoading = true;
|
||||
var url = handler.get_api_server();
|
||||
httpRequest(url + "/api/login", #post, {username: last_msg.user.name, id: my_id, uuid: handler.get_uuid(), type: 'email_code', trustThisDevice: false, verificationCode: code, deviceInfo: getDeviceInfo()},
|
||||
httpRequest(url + "/api/login", #post, {username: last_msg.user.name, id: my_id, uuid: handler.get_uuid(), type: 'email_code', autoLogin: true, verificationCode: code, deviceInfo: getDeviceInfo()},
|
||||
function(data) {
|
||||
if (data.error) {
|
||||
abLoading = false;
|
||||
|
||||
Reference in New Issue
Block a user