I've set up the standard recaptcha plugin in Joomla. I did an override of the login page and it wasn't showing the recaptcha, so I tried to add it by following the answer from these pages:
My Captcha stopped working after upgrading to Joomla 3.5
https://stackoverflow.com/questions/12840015/how-to-use-joomla-recaptcha-plugin-to-my-custom-module
The problem is that the recaptcha shows up fine, but I'm able to login without using the captcha check button / image clicking... I have figured out a way to check it before sending with jquery, but the big hurtle is that I don't understand why it is going through on the server side? should'n Joomla handle that as it's a build in plugin?
Here's the code I've put inside the <form tag>
(copy paste from the first link):
<?php
$captcha_plugin = JFactory::getConfig()->get('captcha');
if ($captcha_plugin != '0') {
$captcha = JCaptcha::getInstance($captcha_plugin);
$field_id = 'your_old_and_useless_id';
print $captcha->display($field_id, $field_id, 'g-recaptcha');
}
?>
And I don't know what this defines? $field_id = 'your_old_and_useless_id';
I've tried to look it up, but I can't really find any documentation on how to inplement the Joomla standard recaptcha.
I really apriciate your help! thanks!!