diff --git a/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java b/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java index e9c42a10b..d1a26251d 100644 --- a/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java +++ b/src/com/owncloud/android/lib/common/operations/RemoteOperationResult.java @@ -365,7 +365,7 @@ public RemoteOperationResult(boolean success, int httpCode, String httpPhrase, H continue; } if ("www-authenticate".equals(current.getName().toLowerCase())) { - mAuthenticate = current.getValue(); + mAuthenticateHeaders.add(current.getValue()); break; } }