CaptchaUtil Removed 7.3 - How to upgrade?

Mark Clarke, modified 5 Years ago. Regular Member Posts: 107 Join Date: 3/3/12 Recent Posts
H ithere,
CapthcaUtil has been removed from 7.3 are there any examples of how to handle checking of captchas and serving of images in a custom MVCPortlet without CaptchaUtil?  I have looked but can't seem to find one.
thanks
thumbnail
Mohammed Yasin, modified 5 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts
Hi ,
Have u tried  including  below dependency in gradle for CaptchaUtil
compileOnly: 'com.liferay', name: 'com.liferay.captcha.api
i dont think its removed from 7.3 refer,  it is separate module (service)
Mark Clarke, modified 5 Years ago. Regular Member Posts: 107 Join Date: 3/3/12 Recent Posts
Thanks for the assistance. The API docs say the class was depracted without a direct replacement that made me think the functionality had disappeared and was meant to be implemented by the developer.  Now I know in future "Deprecated....  with no direct replacement" in the API docs doesn't mean what I think it means.