mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
refact: oidc, launch url (#11772)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -2878,6 +2878,7 @@ Future<bool> canBeBlocked() async {
|
||||
return access_mode == 'view' || (access_mode.isEmpty && !option);
|
||||
}
|
||||
|
||||
// to-do: web not implemented
|
||||
Future<void> shouldBeBlocked(RxBool block, WhetherUseRemoteBlock? use) async {
|
||||
if (use != null && !await use()) {
|
||||
block.value = false;
|
||||
|
||||
Reference in New Issue
Block a user