forked from Silverfish/proton-bridge
feat(GODT-2161): auto-submit 2FA.
This commit is contained in:
@ -344,7 +344,12 @@ FocusScope {
|
|||||||
if (str.length === 0) {
|
if (str.length === 0) {
|
||||||
return qsTr("Enter the 6-digit code")
|
return qsTr("Enter the 6-digit code")
|
||||||
}
|
}
|
||||||
return
|
}
|
||||||
|
|
||||||
|
onTextChanged: {
|
||||||
|
if (text.length >= 6) {
|
||||||
|
twoFAButton.onClicked()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
|
|||||||
Reference in New Issue
Block a user