prepare self-hosting web client

This commit is contained in:
rustdesk
2025-05-10 21:49:23 +08:00
parent 9dbb6217f7
commit 2c976eb1e2
4 changed files with 24 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ class UserPayload {
String name = '';
String email = '';
String note = '';
String? verifier;
UserStatus status;
bool isAdmin = false;
@@ -34,6 +35,7 @@ class UserPayload {
: name = json['name'] ?? '',
email = json['email'] ?? '',
note = json['note'] ?? '',
verifier = json['verifier'],
status = json['status'] == 0
? UserStatus.kDisabled
: json['status'] == -1