Disable captcha by default, add instructions on how to add it
This commit is contained in:
parent
aa551e9cea
commit
f25fbd7e20
2 changed files with 13 additions and 14 deletions
|
@ -50,15 +50,15 @@ form:
|
|||
type: hidden
|
||||
evaluateDefault: grav.uri.path
|
||||
|
||||
- name: g-recaptcha-response
|
||||
label: Captcha
|
||||
type: captcha
|
||||
recatpcha_site_key: e32iojeoi32jeoi32jeoij32oiej32oiej3
|
||||
recaptcha_not_validated: 'Captcha not valid!'
|
||||
validate:
|
||||
required: true
|
||||
process:
|
||||
ignore: true
|
||||
# - name: g-recaptcha-response
|
||||
# label: Captcha
|
||||
# type: captcha
|
||||
# recatpcha_site_key: e32iojeoi32jeoi32jeoij32oiej32oiej3
|
||||
# recaptcha_not_validated: 'Captcha not valid!'
|
||||
# validate:
|
||||
# required: true
|
||||
# process:
|
||||
# ignore: true
|
||||
|
||||
buttons:
|
||||
- type: submit
|
||||
|
@ -68,8 +68,8 @@ form:
|
|||
- email:
|
||||
subject: "[New Comment] from {{ form.value.name|e }}"
|
||||
body: "{% include 'forms/data.html.twig' %}"
|
||||
- captcha:
|
||||
recatpcha_secret: ej32oiej23oiej32oijeoi32jeio32je
|
||||
# - captcha:
|
||||
# recatpcha_secret: ej32oiej23oiej32oijeoi32jeio32je
|
||||
- addComment:
|
||||
- message: Thank you for writing your comment!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue