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;