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

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
Claus Vium 2021-05-16 15:27:31 +02:00 committed by GitHub
parent 415e8fc0f3
commit 652909e8a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,7 +258,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
var name = authorizationHeader[..firstSpace]; var name = authorizationHeader[..firstSpace];
if (!name.Equals("MediaBrowser", StringComparison.OrdinalIgnoreCase) if (!name.Equals("MediaBrowser", StringComparison.OrdinalIgnoreCase)
&& name.Equals("Emby", StringComparison.OrdinalIgnoreCase)) && !name.Equals("Emby", StringComparison.OrdinalIgnoreCase))
{ {
return null; return null;
} }