Move captcha over email, fix #45

This commit is contained in:
Flavio Copes 2017-02-26 22:05:26 +01:00
parent b3da8123a9
commit fac87e9bb5
2 changed files with 5 additions and 4 deletions

View File

@ -2,13 +2,14 @@
## xx/xx/2017
1. [](#improved)
Added Japanese translation
* Added Japanese translation
* Move captcha over email [#45](https://github.com/getgrav/grav-plugin-comments/issues/45)
# v1.2.6
## 01/09/2017
1. [](#improved)
Use existing `Utils::startsWith()` method
* Use existing `Utils::startsWith()` method
1. [](#bugfix)
* Fix [#41](https://github.com/getgrav/grav-plugin-comments/issues/41) using Comments in a Gantry-powered theme did not escape the comment form token correctly

View File

@ -65,11 +65,11 @@ form:
value: PLUGIN_COMMENTS.SUBMIT_COMMENT_BUTTON_TEXT
process:
# - captcha:
# recatpcha_secret: ej32oiej23oiej32oijeoi32jeio32je
- email:
subject: PLUGIN_COMMENTS.EMAIL_NEW_COMMENT_SUBJECT
body: "{% include 'forms/data.html.twig' %}"
# - captcha:
# recatpcha_secret: ej32oiej23oiej32oijeoi32jeio32je
- addComment:
- message: PLUGIN_COMMENTS.THANK_YOU_MESSAGE
- reset: true