Skip to content

Commit

Permalink
Register TwoFactorAuthenticationClaimsProvider service
Browse files Browse the repository at this point in the history
Fix #14650
  • Loading branch information
MikeAlhayek committed Nov 7, 2023
1 parent d27de16 commit 8a3d213
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public override void ConfigureServices(IServiceCollection services)
options.Filters.Add<TwoFactorAuthenticationAuthorizationFilter>();
});

services.AddScoped<IUserClaimsProvider, TwoFactorAuthenticationClaimsProvider>();
services.AddScoped<IDisplayDriver<UserMenu>, TwoFactorUserMenuDisplayDriver>();
services.AddScoped<IDisplayDriver<ISite>, TwoFactorLoginSettingsDisplayDriver>();
services.AddScoped<IDisplayDriver<TwoFactorMethod>, TwoFactorMethodDisplayDriver>();
Expand Down

0 comments on commit 8a3d213

Please sign in to comment.