Merge pull request #4756 from crobibero/api-key-inverted-condition

Fix inverted condition when authenticating with an ApiKey
This commit is contained in:
Claus Vium
2020-12-11 09:54:15 +01:00
committed by GitHub

View File

@@ -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)