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

Fix inverted condition when authenticating with an ApiKey
pull/4750/head
Claus Vium 4 years ago committed by GitHub
commit c1bb29532f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -185,11 +185,11 @@ namespace Emby.Server.Implementations.HttpServer.Security
updateToken = true; updateToken = true;
} }
authInfo.IsApiKey = true; authInfo.IsApiKey = false;
} }
else else
{ {
authInfo.IsApiKey = false; authInfo.IsApiKey = true;
} }
if (updateToken) if (updateToken)

Loading…
Cancel
Save