mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
38f7fd6fbe
commit
9d131807d7
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ void QMLManager::saveCloudCredentials()
|
|||
syncLoadFromCloud();
|
||||
QString url;
|
||||
getCloudURL(url);
|
||||
manager()->clearAccessCache(); // remove any chached credentials
|
||||
openLocalThenRemote(url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue