From 9d131807d75310bdbf77c5fd11555c70232a339a Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 10 Feb 2016 18:14:09 -0800 Subject: Reset the authentication cache when trying new credentials Otherwise Qt attempts to be smart and re-uses previously successful username (email) and password. This is an odd corner case, but it seems the right thing to do. Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 0231e7775..d4cc89fb8 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -166,6 +166,7 @@ void QMLManager::saveCloudCredentials() syncLoadFromCloud(); QString url; getCloudURL(url); + manager()->clearAccessCache(); // remove any chached credentials openLocalThenRemote(url); } } -- cgit v1.2.3-70-g09d2