mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-08 19:21:28 +03:00
rename autoLogin to trustThisDevice
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -67,7 +67,7 @@ class LoginRequest {
|
||||
String? password;
|
||||
String? id;
|
||||
String? uuid;
|
||||
bool? autoLogin;
|
||||
bool? trustThisDevice;
|
||||
String? type;
|
||||
String? verificationCode;
|
||||
Map<String, dynamic> deviceInfo = DeviceInfo.toJson();
|
||||
@@ -77,7 +77,7 @@ class LoginRequest {
|
||||
this.password,
|
||||
this.id,
|
||||
this.uuid,
|
||||
this.autoLogin,
|
||||
this.trustThisDevice,
|
||||
this.type,
|
||||
this.verificationCode});
|
||||
|
||||
@@ -87,7 +87,7 @@ class LoginRequest {
|
||||
data['password'] = password ?? '';
|
||||
data['id'] = id ?? '';
|
||||
data['uuid'] = uuid ?? '';
|
||||
data['autoLogin'] = autoLogin ?? '';
|
||||
data['trustThisDevice'] = trustThisDevice ?? '';
|
||||
data['type'] = type ?? '';
|
||||
data['verificationCode'] = verificationCode ?? '';
|
||||
data['deviceInfo'] = deviceInfo;
|
||||
|
||||
Reference in New Issue
Block a user