diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-05-16 15:27:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-16 15:27:31 +0200 |
| commit | 652909e8a57075866e56c270852e34714bf06c06 (patch) | |
| tree | c6eb4160aab2fa0a1a55b91a8a37f57269dee619 /Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs | |
| parent | 415e8fc0f3b7f214fbcbdc8fa39a863b06690243 (diff) | |
Update Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs index 035c5df64..fbf9254d1 100644 --- a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs +++ b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs @@ -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; } |
