fixes #2740
Merge pull request #2741 from tonydspaniard/2740-captcha-action-using-obsolete-method

Fixes #2740