Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/windows-universal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'NextcloudClient/NextcloudClient.cs')
-rw-r--r--NextcloudClient/NextcloudClient.cs6
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 =