Skip to content

Commit

Permalink
Add missing reCaptcha permission registration (#12720)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco authored Nov 1, 2022
1 parent d9e9fb2 commit 6c5ce08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OrchardCore.Modules/OrchardCore.ReCaptcha/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using OrchardCore.ReCaptcha.Core;
using OrchardCore.ReCaptcha.Drivers;
using OrchardCore.ReCaptcha.Users.Handlers;
using OrchardCore.Security.Permissions;
using OrchardCore.Settings;
using OrchardCore.Settings.Deployment;
using OrchardCore.Users.Events;
Expand All @@ -22,6 +23,7 @@ public override void ConfigureServices(IServiceCollection services)

services.AddScoped<IDisplayDriver<ISite>, ReCaptchaSettingsDisplayDriver>();
services.AddScoped<INavigationProvider, AdminMenu>();
services.AddScoped<IPermissionProvider, Permissions>();
}
}

Expand Down

0 comments on commit 6c5ce08

Please sign in to comment.