Add back button to SSO login
This commit is contained in:
@@ -26,15 +26,23 @@ LoginStep {
|
|||||||
processed("qrc:/imports/NeoChat/Component/Login/Loading.qml")
|
processed("qrc:/imports/NeoChat/Component/Login/Loading.qml")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
RowLayout {
|
||||||
|
QQC2.Button {
|
||||||
|
text: i18nc("@action:button", "Back")
|
||||||
|
|
||||||
QQC2.Button {
|
onClicked: {
|
||||||
text: i18n("Login")
|
module.source = "qrc:/imports/NeoChat/Component/Login/Login.qml"
|
||||||
onClicked: {
|
}
|
||||||
LoginHelper.loginWithSso()
|
}
|
||||||
root.showMessage(i18n("Complete the authentication steps in your browser"))
|
QQC2.Button {
|
||||||
|
text: i18n("Login")
|
||||||
|
onClicked: {
|
||||||
|
LoginHelper.loginWithSso()
|
||||||
|
root.showMessage(i18n("Complete the authentication steps in your browser"))
|
||||||
|
}
|
||||||
|
Component.onCompleted: forceActiveFocus()
|
||||||
|
Keys.onReturnPressed: clicked()
|
||||||
}
|
}
|
||||||
Component.onCompleted: forceActiveFocus()
|
|
||||||
Keys.onReturnPressed: clicked()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user