moment/src/gui/Pages/AddAccount/Reset.qml

34 lines
682 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 " +
2019-12-08 20:30:04 +11:00
"password using a client that supports it, like Riot."
2019-12-08 03:39:56 +11:00
)
Layout.fillWidth: true
}
}