Update Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs

Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
This commit is contained in:
Cody Robibero
2020-06-16 16:45:17 -06:00
committed by GitHub
parent b22fdbf59e
commit b451eb0bdc

View File

@@ -107,7 +107,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
token = queryString["ApiKey"]; token = queryString["ApiKey"];
} }
// TODO depricate this query parameter. // TODO deprecate this query parameter.
if (string.IsNullOrEmpty(token)) if (string.IsNullOrEmpty(token))
{ {
token = queryString["api_key"]; token = queryString["api_key"];