-
Type:
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Affects Version/s: 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.2.0 GA1
-
Component/s: Application Security > Captcha
-
Labels:
-
Fix Priority:3
-
QA Test Name:
-
QA Test Score:4
Steps to reproduce:
- Before starting up portal, copy the attached captcha osgi config file to Liferay Home > osgi > configs
- Start up portal and log in
- Navigate to Control Panel > Configuration > System Settings > Security Tools > CAPTCHA
- Change CAPTCHA Engine to reCAPTCHA
- Populate the "reCAPTCHA Public Key" and "reCAPTCHA Private Key" fields with api keys obtained from Google (or just type in any text, the fields just need to be populated)
- Save
- Log out of the portal site
- While logged out, Navigate to Sign In > Create Account
Expected result:
The CAPTCHA iframe located at the end of the form should be using the reCAPTCHA engine. You can tell this if the the word "reCAPTCHA" and the reCAPTCHA logo is present within the iframe. See screenshot below:
Actual result:
The CAPTCHA iframe is still using the SimpleCaptcha engine. See below screenshot:
Notes:
Even though visually it looks like reCAPTCHA selection is saved in the within the system settings page, the changes don't actually take effect functionally.
A workaround for this is to first reset the CAPTCHA system settings to default values (you may have to navigate to a different page and back or else resetting would not work) before setting the CAPTCHA Engine. The settings take effect when doing this.
Reproduced on:
Portal master Git SHA: 8cafb3b502fa72946f6f0e080562db9fd39ea69a
- is fixed by
-
LPS-84311 Selecting reCAPTCHA within system settings does not save without entering api keys
- Closed