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

Fix inverted condition when authenticating with an ApiKey

(cherry picked from commit c1bb29532f)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
pull/4804/head
Claus Vium 4 years ago committed by Joshua M. Boniface
parent 0d8fa795a0
commit 02cc83b807

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

Loading…
Cancel
Save