Commit 1e87fcc5 authored by Den Pakizh's avatar Den Pakizh

fixed "Windows Authentication is not supported" exceptions on non-Windows systems

parent fc2bbb80
...@@ -84,7 +84,7 @@ namespace Titanium.Web.Proxy.EventArguments ...@@ -84,7 +84,7 @@ namespace Titanium.Web.Proxy.EventArguments
get => enableWinAuth; get => enableWinAuth;
set set
{ {
if (!isWindowsAuthenticationSupported) if (value && !isWindowsAuthenticationSupported)
throw new Exception("Windows Authentication is not supported"); throw new Exception("Windows Authentication is not supported");
enableWinAuth = value; enableWinAuth = value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment