diff --git a/app/code/community/ProxiBlue/ReCaptcha/Model/Recaptcha.php b/app/code/community/ProxiBlue/ReCaptcha/Model/Recaptcha.php index b604d3b..f4b3716 100755 --- a/app/code/community/ProxiBlue/ReCaptcha/Model/Recaptcha.php +++ b/app/code/community/ProxiBlue/ReCaptcha/Model/Recaptcha.php @@ -179,11 +179,15 @@ public function getElementId($type = 'input') */ public function isRequired($login = null) { + if(!$this->_isEnabled() || !in_array($this->_formId, $this->_getTargetForms())){ + return false; + } + if (in_array($this->_formId, $this->_alwaysShow)) { return true; } - if ($this->_isUserAuth() || !$this->_isEnabled() || !in_array($this->_formId, $this->_getTargetForms())) { + if ($this->_isUserAuth()) { return false; } diff --git a/app/code/community/ProxiBlue/ReCaptcha/etc/config.xml b/app/code/community/ProxiBlue/ReCaptcha/etc/config.xml index 3a446b5..402b1df 100755 --- a/app/code/community/ProxiBlue/ReCaptcha/etc/config.xml +++ b/app/code/community/ProxiBlue/ReCaptcha/etc/config.xml @@ -2,7 +2,7 @@ - 1.5.0 + 1.5.1