diff options
author | jan Iversen <jan@casacondor.com> | 2019-12-27 13:56:33 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-28 08:34:56 -0800 |
commit | 096f9773f0812d9713292ac2e2e1d4dc9f88ecde (patch) | |
tree | b78ec9400cbc32316784b7532591444e4a18a9f1 /mobile-widgets/qmlmanager.h | |
parent | ad1c3892f97fd1a95398182974397682e2c5521c (diff) | |
download | subsurface-096f9773f0812d9713292ac2e2e1d4dc9f88ecde.tar.gz |
mobile-widgets: make saveCredentials() an atom
Add pin parameter to saveCredentials() thereby having all info about
credentials in one function call.
Add "" as pin in saveCredentials() - main.qml, when verifying
credentials.
replace verifyCredentials() with saveCredentials() in the register
button on the pin page.
Signed-off-by: Jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 14baf6dd8..12a8496e8 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -167,7 +167,7 @@ public: public slots: void appInitialized(); void applicationStateChanged(Qt::ApplicationState state); - void saveCloudCredentials(const QString &email, const QString &password); + void saveCloudCredentials(const QString &email, const QString &password, const QString &pin); bool verifyCredentials(QString email, QString password, QString pin); void tryRetrieveDataFromBackend(); void handleError(QNetworkReply::NetworkError nError); |