浏览代码

OC-1078: Use isIdPRedirection

masensio 11 年之前
父节点
当前提交
46674d32fe
共有 1 个文件被更改,包括 2 次插入1 次删除
  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);