Fix inverted condition when authenticating with an ApiKey (cherry picked from commit c1bb29532fd4abb0245799df0cc6e9cd6d576568) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
@@ -185,11 +185,11 @@ namespace Emby.Server.Implementations.HttpServer.Security
updateToken = true;
}
- authInfo.IsApiKey = true;
+ authInfo.IsApiKey = false;
else
{
- authInfo.IsApiKey = false;
+ authInfo.IsApiKey = true;
if (updateToken)