Skip to content

Commit 943f02d

Browse files
committed
Small fixes to the docs.
1 parent 18df1ac commit 943f02d

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

docs/Griesoft.AspNetCore.ReCaptcha.xml

Lines changed: 7 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ReCaptcha/TagHelpers/RecaptchaInvisibleTagHelper.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ namespace Griesoft.AspNetCore.ReCaptcha.TagHelpers
1818
///
1919
/// For easiest use of this tag helper set only the <c>FormId</c>. This will add a default callback function to the body. That function does
2020
/// submit the form after a successful reCAPTCHA challenge.
21+
///
22+
/// If the tag is not inside the form that is going to be submitted, you should use a custom callback function. The default callback function
23+
/// does not add the reCAPTCHA token to the form, which will result in response verification failure.
2124
/// </remarks>
2225
[HtmlTargetElement("recaptcha-invisible", Attributes = "callback", TagStructure = TagStructure.WithoutEndTag)]
2326
[HtmlTargetElement("recaptcha-invisible", Attributes = "formid", TagStructure = TagStructure.WithoutEndTag)]

0 commit comments

Comments
 (0)