mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-23 19:49:05 +08:00
fix: web, forget password (#9524)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
1ebc726acd
commit
4eca8b9447
@ -936,7 +936,7 @@ class RustdeskImpl {
|
||||
}
|
||||
|
||||
Future<void> mainForgetPassword({required String id, dynamic hint}) {
|
||||
return Future(() => js.context.callMethod('setByName', ['forget']));
|
||||
return mainSetPeerOption(id: id, key: 'password', value: '');
|
||||
}
|
||||
|
||||
Future<bool> mainPeerHasPassword({required String id, dynamic hint}) {
|
||||
|
Loading…
Reference in New Issue
Block a user