fix(GODT-2992): fix link in 'no account view' in main window after 2FA or TOTP are cancelled.

This commit is contained in:
Xavier Michelon
2023-10-03 10:48:46 +02:00
parent c11a87c16a
commit 1c344211d1
2 changed files with 11 additions and 10 deletions

View File

@ -75,16 +75,6 @@ Item {
root.iconWidth = 265; root.iconWidth = 265;
} }
Connections {
function onLogin2FARequested() {
showLogin2FA();
}
function onLogin2PasswordRequested() {
showLoginMailboxPassword();
}
target: Backend
}
ColumnLayout { ColumnLayout {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right

View File

@ -186,6 +186,17 @@ Item {
target: clientConfigAppleMail target: clientConfigAppleMail
} }
Connections {
function onLogin2FARequested() {
leftContent.showLogin2FA();
}
function onLogin2PasswordRequested() {
leftContent.showLoginMailboxPassword();
}
target: Backend
}
} }
Image { Image {
id: mailLogoWithWordmark id: mailLogoWithWordmark