From 25d2f9b84d24eac773da4f2f609bb4dfe4290d6a Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 28 Dec 2019 09:06:22 +0100 Subject: mobile-widgets/qml: add "forgot password" button The user is most likely to find out, that he does not remember the password, when asked for it. Add "forgot password" button in the signin dialog (both credentials and pin dialog). Signed-off-by: Jan Iversen --- mobile-widgets/qml/CloudCredentials.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 1df66426e..66b6fa855 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -144,5 +144,12 @@ Item { } } } + SsrfButton { + id: signin_forgot_password + text: qsTr("Forgot password?") + onClicked: { + Qt.openUrlExternally("https://cloud.subsurface-divelog.org/passwordreset") + } + } } } -- cgit v1.2.3-70-g09d2