Bläddra i källkod

OC-1078: Use isIdPRedirection

masensio 12 år sedan
förälder
incheckning
46674d32fe
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      src/com/owncloud/android/authentication/AuthenticatorActivity.java

+ 2 - 1
src/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -767,7 +767,8 @@ implements  OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
             // NOTHING TO DO ; can't find out what situation that leads to the exception in this code, but user logs signal that it happens
         }
         
-        if (result.isTemporalRedirection() || result.isIdPRedirection()) {
+        //if (result.isTemporalRedirection() || result.isIdPRedirection()) {
+        if (result.isIdPRedirection()) {
             String url = result.getRedirectedLocation();
             String targetUrl = mHostBaseUrl + AccountUtils.getWebdavPath(mDiscoveredVersion, mAuthTokenType);