34 lines
685 B
QML
34 lines
685 B
QML
|
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
|
||
|
}
|
||
|
}
|