Unverified Commit 0457c89f authored by honfika's avatar honfika Committed by GitHub

Merge pull request #651 from denispakizh/master

fixed "Windows Authentication is not supported" error on non-Windows systems
parents fc2bbb80 1e87fcc5
......@@ -84,7 +84,7 @@ namespace Titanium.Web.Proxy.EventArguments
get => enableWinAuth;
set
{
if (!isWindowsAuthenticationSupported)
if (value && !isWindowsAuthenticationSupported)
throw new Exception("Windows Authentication is not supported");
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