From 40dc17aea518bc6ec275ad90f22cf70781c26b5c Mon Sep 17 00:00:00 2001 From: Xavier Michelon Date: Tue, 16 May 2023 16:26:45 +0200 Subject: [PATCH] feat(GODT-2161): auto-submit 2FA. --- internal/frontend/bridge-gui/bridge-gui/qml/SignIn.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/SignIn.qml b/internal/frontend/bridge-gui/bridge-gui/qml/SignIn.qml index d3d9bef8..006eb543 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/SignIn.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/SignIn.qml @@ -344,7 +344,12 @@ FocusScope { if (str.length === 0) { return qsTr("Enter the 6-digit code") } - return + } + + onTextChanged: { + if (text.length >= 6) { + twoFAButton.onClicked() + } } onAccepted: {