mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-06-11 12:43:12 +08:00
dismiss login dialog before verification
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
5cef21fd40
commit
92a4d88532
@ -435,11 +435,8 @@ Future<bool?> loginDialog() async {
|
|||||||
break;
|
break;
|
||||||
case HttpType.kAuthResTypeEmailCheck:
|
case HttpType.kAuthResTypeEmailCheck:
|
||||||
setState(() => isInProgress = false);
|
setState(() => isInProgress = false);
|
||||||
final res = await verificationCodeDialog(resp.user);
|
close(true);
|
||||||
if (res == true) {
|
verificationCodeDialog(resp.user);
|
||||||
close(true);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
passwordMsg = "Failed, bad response from server";
|
passwordMsg = "Failed, bad response from server";
|
||||||
|
Loading…
Reference in New Issue
Block a user