aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-28 09:06:22 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-29 01:05:44 +0900
commit25d2f9b84d24eac773da4f2f609bb4dfe4290d6a (patch)
tree3eb1181d75c51513f274a7a492f7ff365181793b
parent9e3d85f0e2e974c22eb1e464c0667c28f48ff44c (diff)
downloadsubsurface-25d2f9b84d24eac773da4f2f609bb4dfe4290d6a.tar.gz
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 <jan@casacondor.com>
-rw-r--r--mobile-widgets/qml/CloudCredentials.qml7
1 files changed, 7 insertions, 0 deletions
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")
+ }
+ }
}
}