Enabling captcha in liferay :
Basically we can enable captcha validation for following actions
captcha.check.portal.create_account=true
captcha.check.portal.send_password=true
captcha.check.portlet.message_boards.edit_category=false
captcha.check.portlet.message_boards.edit_message=false
Just add the property which we need in portal-ext.properties
And restart your server.
Now click on create account in your sign in portlet.
You will see simple captcha text verification for creating account.
ReCaptcha :
Recaptcha is a Google service that generates captchas. It alternatively has sound-based captchas for the hard of sight.
Steps to integrate Recaptcha
Step 1:
Login to
http://www.google.com/recaptcha and give all necessary information.
Step 2:
And you will get site key and secret key
Step 3:
Now log in to portal as admin user.And goto control panel/Server Administration.
Step 4:
Enable recaptcha key and give site key as recaptcha public key and give secret key as recaptcha private key and save.
Step 5:
Goto create account.You will see recaptcha now.
0 comments:
Post a Comment