Skip to content

Commit

Permalink
Small fixes to the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jooni91 committed Apr 19, 2022
1 parent 18df1ac commit 943f02d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 7 additions & 9 deletions docs/Griesoft.AspNetCore.ReCaptcha.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/ReCaptcha/TagHelpers/RecaptchaInvisibleTagHelper.cs
Expand Up @@ -18,6 +18,9 @@ namespace Griesoft.AspNetCore.ReCaptcha.TagHelpers
///
/// 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
/// submit the form after a successful reCAPTCHA challenge.
///
/// 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
/// does not add the reCAPTCHA token to the form, which will result in response verification failure.
/// </remarks>
[HtmlTargetElement("recaptcha-invisible", Attributes = "callback", TagStructure = TagStructure.WithoutEndTag)]
[HtmlTargetElement("recaptcha-invisible", Attributes = "formid", TagStructure = TagStructure.WithoutEndTag)]
Expand Down

0 comments on commit 943f02d

Please sign in to comment.