Update Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
415e8fc0f3
commit
652909e8a5
|
@ -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…
Reference in New Issue
Block a user