mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
+selfSigned
This commit is contained in:
parent
c6e343964a
commit
c65a0e142c
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ public class WebdavClient extends HttpClient {
|
||||||
client.mUri = Uri.parse(baseUrl + webDavPath);
|
client.mUri = Uri.parse(baseUrl + webDavPath);
|
||||||
client.getParams().setParameter(HttpMethodParams.USER_AGENT, USER_AGENT);
|
client.getParams().setParameter(HttpMethodParams.USER_AGENT, USER_AGENT);
|
||||||
client.setCredentials(username, password);
|
client.setCredentials(username, password);
|
||||||
|
client.allowSelfsignedCertificates();
|
||||||
clients.put(account.name, client);
|
clients.put(account.name, client);
|
||||||
}
|
}
|
||||||
return instance;
|
return instance;
|
||||||
|
|
Loading…
Reference in a new issue