mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
save user info when refreshCurrentUser
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -95,6 +95,7 @@ class UserModel {
|
||||
_parseAndUpdateUser(UserPayload user) {
|
||||
userName.value = user.name;
|
||||
isAdmin.value = user.isAdmin;
|
||||
bind.mainSetLocalOption(key: 'user_info', value: jsonEncode(user));
|
||||
}
|
||||
|
||||
// update ab and group status
|
||||
|
||||
Reference in New Issue
Block a user