Use proper IsApiKey flag

This commit is contained in:
crobibero
2020-10-28 08:40:11 -06:00
parent d5c226b1c3
commit 981f000437
6 changed files with 45 additions and 13 deletions

View File

@@ -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)