Add temporary Recovery box
This commit is contained in:
parent
f75d44a0dd
commit
0f1a6c7df1
33
src/qml/Pages/AddAccount/Recovery.qml
Normal file
33
src/qml/Pages/AddAccount/Recovery.qml
Normal 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
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user