Эх сурвалжийг харах

OC-1078: Use isIdPRedirection

masensio 11 жил өмнө
parent
commit
46674d32fe

+ 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);