moment/src/qml/Pages/AddAccount/Recovery.qml

34 lines
685 B
QML
Raw Normal View History

2019-12-08 03:39:56 +11:00
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
HBox {
id: signInBox
clickButtonOnEnter: "ok"
buttonModel: [
{
name: "ok",
text: qsTr("Reset password from Riot"),
iconName: "reset-password"
},
]
buttonCallbacks: ({
ok: button => {
Qt.openUrlExternally("https://riot.im/app/#/forgot_password")
}
})
HLabel {
wrapMode: Text.Wrap
text: qsTr(
"Account recovery is not implemented yet. You can reset your " +
"password using a client that supports it, such as Riot."
)
Layout.fillWidth: true
}
}