mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Grant that requests done through the same OwnCloudClient using Basic HTTP Authentication keep cookies
This commit is contained in:
parent
1651d1a555
commit
1cb224cba1
@ -102,6 +102,7 @@ public class OwnCloudClient extends HttpClient {
|
||||
mCredentials = new UsernamePasswordCredentials(username, password);
|
||||
getState().setCredentials(AuthScope.ANY, mCredentials);
|
||||
mSsoSessionCookie = null;
|
||||
getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
|
||||
}
|
||||
|
||||
public void setSsoSessionCookie(String accessToken) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user