Captcha does not work in Password Recovery Page

Here is the steps to reproduce:

  1. Enable “CAPTCHA (requires extension)” from “Security” → “Advanced” → “User Login Options” → “Password Recovery Page”,
  2. Enable “CAPTCHA” extension from “Tools” → “Extensions” menu,
  3. Re-generate ALL the scrip files,
  4. Go to Password Recovery Page, enter the valid email address, and then enter any string that does not match with the captcha shown,
  5. Click on “Send” button, system will proceed to next process (this should not be happened),
  6. In the next page, there are two message displayed; one for the success message and the other is the error message contains “Enter the validation code shown”.

After investigating the case, I found this code in captcha-script.php template file that causes the issue:

$this->Action = “”;

That code above should be like this (in order the CAPTCHA to work properly):

$action = “”;

This has been fixed in v2020.0.16. Thank you.

However, in your change log, this sentence needs to be updated:

  • Fixed: Captcha in change password page

should be:

  • Fixed: Captcha in password recovery page

Hi,

I am using the version PHPMaker 20.0.16,
I have enabled the captcha für login page.
But I am not seeing any image.
The enter files to enter the captcha is existing but not the captcha itself.

I enabled the checkbox by extension under the tools->captcha → UseCaptchaInLoginPage
Is it a bug?

mpol_ch

Tested and should work. Make sure that you have regenerated ALL files (especially ewcaptcha.php). You may press F12 → Network to check if there is any error associated with ewcaptcha.php.

Hi arbei,

thanks a lot for your response.
Yes, now it is working.
It worked after deleting the entire folder…

thanks.
mpol_ch