[Pkg-owncloud-commits] [owncloud-client] 08/30: Do not erase the full account config if an old version of the client stored the password
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Mar 15 21:28:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 9a60732542c37edf10da2d86e8c0939c42b8f5c8
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Feb 28 12:44:25 2014 +0100
Do not erase the full account config if an old version of the client stored the password
---
src/creds/httpcredentials.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/creds/httpcredentials.cpp b/src/creds/httpcredentials.cpp
index 22db507..f3bb67d 100644
--- a/src/creds/httpcredentials.cpp
+++ b/src/creds/httpcredentials.cpp
@@ -199,7 +199,7 @@ void HttpCredentials::fetch(Account *account)
// we do not want a security problem.
settings->remove(key);
key = QString::fromLatin1( "%1/type" ).arg( kck );
- settings->remove(kck);
+ settings->remove(key);
settings->sync();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list