Add reCAPTCHA.AspNetCore library in plugin

Monday, November 25, 2024 8:22:26 PM
  • 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