diff options
Diffstat (limited to 'NextcloudClient/NextcloudClient.cs')
-rw-r--r-- | NextcloudClient/NextcloudClient.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/NextcloudClient/NextcloudClient.cs b/NextcloudClient/NextcloudClient.cs index 0978fb9..383537f 100644 --- a/NextcloudClient/NextcloudClient.cs +++ b/NextcloudClient/NextcloudClient.cs @@ -81,7 +81,11 @@ namespace NextcloudClient _url = url; - _client = new HttpClient(new HttpBaseProtocolFilter { AllowUI = false }); + _client = new HttpClient(new HttpBaseProtocolFilter + { + // Disable the UI mode, we will handle password entry in the app + AllowUI = false + }); _client.DefaultRequestHeaders["Pragma"] = "no-cache"; var encoded = |