mobile-widgets/qml: correct Pin page

Did not switch to divelog page.

call verifyCredentials() not saveCredentials when checking pin

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-12-26 09:23:46 +01:00 committed by Dirk Hohndel
parent c4952b0dcb
commit e9d519444d

View file

@ -15,7 +15,6 @@ Item {
property string password: password.text;
function saveCredentials() {
prefs.cloudPin = pin.text
manager.saveCloudCredentials(login.text, password.text)
}
@ -103,7 +102,7 @@ Item {
id: registerpin
text: qsTr("Register")
onClicked: {
saveCredentials()
verifyCredentials(login.text, password.text, pin.text)
}
}
Controls.Label {