Add a method clearCredentials() to OwnCloudClient that is used to detect authenticati...
authormasensio <masensio@solidgear.es>
Fri, 6 Jun 2014 10:38:04 +0000 (12:38 +0200)
committermasensio <masensio@solidgear.es>
Fri, 6 Jun 2014 10:38:04 +0000 (12:38 +0200)
owncloud-android-library
src/com/owncloud/android/operations/DetectAuthenticationMethodOperation.java

index 1ef3a01..0cf2835 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 1ef3a0176cc870d3cb26a77652b7ae9fd79584ce
+Subproject commit 0cf283526820c0f056f8f5e6c1c1fcc09bb55262
index b817e72..e8c0fd1 100644 (file)
@@ -94,7 +94,7 @@ public class DetectAuthenticationMethodOperation extends RemoteOperation {
         
         RemoteOperation operation = new ExistenceCheckRemoteOperation("", mContext, false);
         client.setWebdavUri(Uri.parse(mWebDavUrl));
-        client.setBasicCredentials("", "");
+        client.clearCredentials();
         client.setFollowRedirects(false);
         
         // try to access the root folder, following redirections but not SAML SSO redirections