feat(GODT-2161): auto-submit 2FA.

This commit is contained in:
Xavier Michelon
2023-05-16 16:26:45 +02:00
parent 5fee2f707b
commit 40dc17aea5

View File

@ -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: {