diff --git a/docs/api-key-authprovider.md b/docs/api-key-authprovider.md index 59f7c68ec6..42809d1fcf 100644 --- a/docs/api-key-authprovider.md +++ b/docs/api-key-authprovider.md @@ -348,7 +348,6 @@ public class ConfigureAuth : IHostingStartup .Where(x => userWithKeysIds.Count == 0 || !userWithKeysIds.Contains(x.Id)) .Select(x => x.Id)); - var authRepo = (IManageApiKeys)appHost.TryResolve(); foreach (var userId in userIdsMissingKeys) { var apiKeys = authProvider.GenerateNewApiKeys(userId);