FriendlyCaptcha & hCaptcha integration issue
-
Hi Ultimate Member-Team,
I submitted a PR to FriendlyCaptcha (with a little fix here) and to hCaptcha, in order to integrate them with ultimate member forms.
But I have a specific issue, that occurs with both integrations:
When UM login (to protect UM login page) and WordPress login (to protect native wordpress login) settings are both enabled in either integration, the captcha request seems to be sent twice and therefore the second (important) call is reject as duplicate. My guess is, that UM hooks into the wordpress login system and then somehow triggers a second captcha verification process.Can you please guide me how to fix this, so both integrations can work without issue?
Here is an example, how the FriendlyCaptcha Ultimate Member Login form is protected:
https://github.com/FriendlyCaptcha/friendly-captcha-wordpress/blob/main/friendly-captcha/modules/ultimate-member/ultimate-member_login.phpIs there anything wrong in this code? How can I avoid sending two requests, when there should only be one?
Thanks!
PS: I hope this is clear, but I tested both integrations independently with only one of the captcha plugins turned on at the same time. But since I have clients using hCaptcha and clients using FriendlyCaptcha I tried to add integration for both.
- The topic ‘FriendlyCaptcha & hCaptcha integration issue’ is closed to new replies.