Little fix on the logic of the last commit.

This commit is contained in:
Pedro Rebelo
2018-06-04 16:49:34 +01:00
parent c9dd2cc062
commit b4447fa319

View File

@@ -237,7 +237,7 @@ namespace Owin.Security.Providers.Twitch
private string GetRequestPrefix()
{
return String.IsNullOrEmpty(Options.RequestPrefix)
return !String.IsNullOrEmpty(Options.RequestPrefix)
? Options.RequestPrefix
: Request.Scheme + Uri.SchemeDelimiter + Request.Host;
}