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

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/6054/head
Claus Vium 4 years ago committed by GitHub
parent 415e8fc0f3
commit 652909e8a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save