Add temporary Recovery box

This commit is contained in:
miruka 2019-12-07 12:39:56 -04:00
parent f75d44a0dd
commit 0f1a6c7df1

View File

@ -0,0 +1,33 @@
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
}
}