summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index eec2c00ac..cc9b1356d 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -372,7 +372,12 @@ void QMLManager::checkCredentialsAndExecute(execute_function_type execute)
}
myTimer.stop();
setCloudPin("");
- if (prefs.cloud_verification_status != CS_VERIFIED) {
+ if (prefs.cloud_verification_status == CS_INCORRECT_USER_PASSWD) {
+ appendTextToLog(QStringLiteral("Incorrect cloud credentials"));
+ setStartPageText(RED_FONT + tr("Incorrect cloud credentials") + END_FONT);
+ revertToNoCloudIfNeeded();
+ return;
+ } else if (prefs.cloud_verification_status != CS_VERIFIED) {
// here we need to enter the PIN
appendTextToLog(QStringLiteral("Need to verify the email address - enter PIN in desktop app"));
setStartPageText(RED_FONT + tr("Cannot connect to cloud storage - cloud account not verified") + END_FONT);