X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/2dc5cc57f12cf2832f6b19ee52f87e9f1f313eaa..ab6b82750e2f99dad49c99de913dd0f208fda244:/src/com/owncloud/android/files/services/FileUploader.java diff --git a/src/com/owncloud/android/files/services/FileUploader.java b/src/com/owncloud/android/files/services/FileUploader.java index 2356c439..a02e74a5 100644 --- a/src/com/owncloud/android/files/services/FileUploader.java +++ b/src/com/owncloud/android/files/services/FileUploader.java @@ -794,7 +794,8 @@ public class FileUploader extends Service implements OnDatatransferProgressListe String content = null; boolean needsToUpdateCredentials = (uploadResult.getCode() == ResultCode.UNAUTHORIZED || - (uploadResult.isTemporalRedirection() && uploadResult.isIdPRedirection() && + //(uploadResult.isTemporalRedirection() && uploadResult.isIdPRedirection() && + (uploadResult.isIdPRedirection() && AccountAuthenticator.AUTH_TOKEN_TYPE_SAML_WEB_SSO_SESSION_COOKIE.equals(mUploadClient.getAuthTokenType()))); if (needsToUpdateCredentials) { // let the user update credentials with one click