Added check to avoid the creation of the same account (same oc_username in the same...
[pub/Android/ownCloud.git] / src / eu / alefzero / webdav / WebdavClient.java
index 570ebb8..2560190 100644 (file)
@@ -93,7 +93,7 @@ public class WebdavClient extends HttpClient {
     
     public void setSsoSessionCookie(String accessToken) {
         getParams().setAuthenticationPreemptive(false);
-        getParams().setCookiePolicy(CookiePolicy.IGNORE_COOKIES);
+        getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
         mSsoSessionCookie = accessToken;
         mCredentials = null;
     }