From 1e87fcc5e438aa27379a048ba0969a1ba364762e Mon Sep 17 00:00:00 2001 From: Den Pakizh Date: Thu, 24 Oct 2019 11:26:38 +0300 Subject: [PATCH] fixed "Windows Authentication is not supported" exceptions on non-Windows systems --- src/Titanium.Web.Proxy/EventArguments/SessionEventArgsBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Titanium.Web.Proxy/EventArguments/SessionEventArgsBase.cs b/src/Titanium.Web.Proxy/EventArguments/SessionEventArgsBase.cs index 07fc38536..f9e3ecc2b 100644 --- a/src/Titanium.Web.Proxy/EventArguments/SessionEventArgsBase.cs +++ b/src/Titanium.Web.Proxy/EventArguments/SessionEventArgsBase.cs @@ -84,7 +84,7 @@ public bool EnableWinAuth get => enableWinAuth; set { - if (!isWindowsAuthenticationSupported) + if (value && !isWindowsAuthenticationSupported) throw new Exception("Windows Authentication is not supported"); enableWinAuth = value;