From 8a3d213d2716dfe5d319e52ede1a04858293180d Mon Sep 17 00:00:00 2001 From: Mike Alhayek Date: Tue, 7 Nov 2023 15:17:11 -0800 Subject: [PATCH] Register TwoFactorAuthenticationClaimsProvider service Fix #14650 --- .../OrchardCore.Users/TwoFactorAuthenticationStartup.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/OrchardCore.Modules/OrchardCore.Users/TwoFactorAuthenticationStartup.cs b/src/OrchardCore.Modules/OrchardCore.Users/TwoFactorAuthenticationStartup.cs index 96ae240d10c..d4ae0d00720 100644 --- a/src/OrchardCore.Modules/OrchardCore.Users/TwoFactorAuthenticationStartup.cs +++ b/src/OrchardCore.Modules/OrchardCore.Users/TwoFactorAuthenticationStartup.cs @@ -40,6 +40,7 @@ public override void ConfigureServices(IServiceCollection services) options.Filters.Add(); }); + services.AddScoped(); services.AddScoped, TwoFactorUserMenuDisplayDriver>(); services.AddScoped, TwoFactorLoginSettingsDisplayDriver>(); services.AddScoped, TwoFactorMethodDisplayDriver>();