FriendlyCaptcha / friendly-captcha-wordpress

WordPress plugin for Friendly Captcha. Protect WordPress website forms from spam and abuse with Friendly Captcha, a privacy-first anti-bot solution.
https://friendlycaptcha.com
19 stars 9 forks source link

change order of checks in login integrations and add meaningful error #98

Closed merlinfuchs closed 1 year ago

merlinfuchs commented 1 year ago

To maybe fix or at least help troubleshoot the #97 I have changed the order of checks and added a meaningful error instead of returning null. Performing the check for the plugin configuration first makes more sense, as we want to let users through if the plugin isn't configured.