diff options
| author | crobibero <cody@robibe.ro> | 2020-10-28 08:40:11 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-10-28 08:40:11 -0600 |
| commit | 981f000437467832d78b1eb36d9c449adb38e814 (patch) | |
| tree | 0290d8203bd367476c55004912bc89572f43b176 /Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs | |
| parent | d5c226b1c3b04fa824adbcdc3eb0cbe09815f643 (diff) | |
Use proper IsApiKey flag
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs index 1f647b78b..d0fcf06e7 100644 --- a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs +++ b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs @@ -183,6 +183,12 @@ namespace Emby.Server.Implementations.HttpServer.Security originalAuthenticationInfo.UserName = authInfo.User.Username; updateToken = true; } + + authInfo.IsApiKey = true; + } + else + { + authInfo.IsApiKey = false; } if (updateToken) |
