Add reCAPTCHA.AspNetCore library in plugin

Friday, April 4, 2025 11:08:24 AM
  • Posted: Wednesday, April 15, 2020 9:58 AM
  • 2
I would like to use this recaptcha library in my plugin.
https://www.nuget.org/packages/reCAPTCHA.AspNetCore/

I added public and secret keys in appsetings in section RecaptchaSettings.

But I need connect model RecaptchaSettings with this section.
is it possible in DependencyRegistar of plugin to do something?
services.Configure<RecaptchaSettings>(Configuration.GetSection("RecaptchaSettings"));

Bostil Support
0
back to top
Filters