mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Also separate target actions when auto-inserting CAPTCHA into forms #1815
This commit is contained in:
parent
2dc3e5e19b
commit
0970a7d7ad
3 changed files with 24 additions and 7 deletions
|
|
@ -264,6 +264,7 @@ class spamfilterController extends spamfilter
|
|||
{
|
||||
$captcha = new spamfilter_reCAPTCHA();
|
||||
$captcha->setTargetActions($target_actions);
|
||||
$captcha->addScripts();
|
||||
Context::set('captcha', $captcha);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue