[Pkg-owncloud-commits] [owncloud-client] 16/27: Always use the dummy crendential while trying to determine the credentials
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Jul 29 16:23:59 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 1d9d88ca856dc1c37c1c26521278eec100298889
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Wed Jul 23 14:38:50 2014 +0200
Always use the dummy crendential while trying to determine the credentials
Otherwise the SHibbolethCredential may be set and it has hook to intercept 401
This should fix issue #1908
---
src/mirall/owncloudsetupwizard.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mirall/owncloudsetupwizard.cpp b/src/mirall/owncloudsetupwizard.cpp
index c4b7388..9102c2f 100644
--- a/src/mirall/owncloudsetupwizard.cpp
+++ b/src/mirall/owncloudsetupwizard.cpp
@@ -144,6 +144,8 @@ void OwncloudSetupWizard::slotDetermineAuthType(const QString &urlString)
}
Account *account = _ocWizard->account();
account->setUrl(url);
+ // Set fake credentials beforfe we check what credidential it actually is.
+ account->setCredentials(CredentialsFactory::create("dummy"));
CheckServerJob *job = new CheckServerJob(_ocWizard->account(), false, this);
job->setIgnoreCredentialFailure(true);
connect(job, SIGNAL(instanceFound(QUrl,QVariantMap)), SLOT(slotOwnCloudFoundAuth(QUrl,QVariantMap)));
--
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