diff options
| author | crobibero <cody@robibe.ro> | 2020-12-09 23:15:33 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-12-09 23:15:33 -0700 |
| commit | 2478c8fa644b7f08100dcd001d08b021bf87b36e (patch) | |
| tree | 91588008891423a65538c69fe018d49b3d82bc42 | |
| parent | 9e601ba7317bd8948072ef1a60a7001b33b507a5 (diff) | |
Fix inverted condition when authenticating with an ApiKey
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs index d62e2eefe..024404ceb 100644 --- a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs +++ b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs @@ -185,11 +185,11 @@ namespace Emby.Server.Implementations.HttpServer.Security updateToken = true; } - authInfo.IsApiKey = true; + authInfo.IsApiKey = false; } else { - authInfo.IsApiKey = false; + authInfo.IsApiKey = true; } if (updateToken) |
