1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-19 12:23:00 +00:00

Use preemptive authentication except in server versions where it is not compatible with session tracking

This commit is contained in:
David A. Velasco
2017-02-01 10:34:42 +01:00
committed by davigonz
parent 28d228b296
commit d5e179d7a2
5 changed files with 24 additions and 7 deletions
@@ -230,7 +230,7 @@ public class AccountUtils {
credentials = OwnCloudCredentialsFactory.newBasicCredentials(
username,
password,
version.isSessionMonitoringSupported()
version.isPreemptiveAuthenticationPreferred()
);
}