mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
opt 2fa (#6942)
1. switch sides not check 2fa 2. let self.authorized=true ahead of return, call try_start_cm when 2fa confirmed for updating authorized state 3. flutter 2fa dialog button color port forward check and sciter will be later on Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -1851,11 +1851,11 @@ void enter2FaDialog(
|
||||
title: Text(translate('enter-2fa-title')),
|
||||
content: codeField,
|
||||
actions: [
|
||||
dialogButton(
|
||||
'Cancel',
|
||||
onPressed: cancel,
|
||||
isOutline: true,
|
||||
),
|
||||
dialogButton('Cancel',
|
||||
onPressed: cancel,
|
||||
isOutline: true,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).textTheme.bodyMedium?.color)),
|
||||
Obx(() => dialogButton(
|
||||
'OK',
|
||||
onPressed: submitReady.isTrue ? submit : null,
|
||||
|
||||
Reference in New Issue
Block a user