Skip to content

Commit

Permalink
Change token key name to g-recaptcha-response, because this is the na…
Browse files Browse the repository at this point in the history
…me the automatic recaptcha process is adding to the form.
  • Loading branch information
jooni91 committed Feb 16, 2020
1 parent a538def commit bfdd092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReCaptcha/Configuration/RecaptchaServiceConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace GSoftware.AspNetCore.ReCaptcha.Configuration
internal class RecaptchaServiceConstants
{
internal const string GoogleRecaptchaEndpoint = "https://www.google.com/recaptcha/api/siteverify";
internal const string TokenKeyName = "Recaptcha-Token";
internal const string TokenKeyName = "G-Recaptcha-Response";
internal const string SettingsSectionKey = "RecaptchaSettings";
}
}

0 comments on commit bfdd092

Please sign in to comment.