You can always enable the plugin recaptcha in plugins list even if private/public key are missing
Labels |
Added:
?
|
Labels |
Added:
?
|
Category | ⇒ | Plugins |
I'am alreay checking in my component that public key and private key are not empty before to use captcha plugin
I'm not sure what the issue is.
If I enable the plugin without giving the keys, I get a clear error message on the pages where it is supposed to load (eg contact form).
Yep, as said you can enable it. There is no way to prevent this the way Joomla works.
But that's no real issue. The plugin itself checks during runtime if it can show the captcha and will show an error when it can't.
Since the admin who enables the captcha hopefully also tries the new feature he is going to add, he will see the errror for sure and can take the needed actions.
Or did something break on your site after you enabled the plugin?
The same is true with many other plugins
On 2 June 2015 at 15:21, Thomas Hunziker notifications@github.com wrote:
Yep, as said you can enable it. There is no way to prevent this the way
Joomla works.
But that's no real issue. The plugin itself checks during runtime if it
can show the captcha and will show an error when it can't.
Since the admin who enables the captcha hopefully also tries the new
feature he is going to add, he will see the errror for sure and can take
the needed actions.Or did something break on your site after you enabled the plugin?
—
Reply to this email directly or view it on GitHub
#7086 (comment).
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
Can this be closed as "expected behaviour" ?
Closed as expected behaviour
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-06-18 10:24:53 |
Closed_By | ⇒ | Bakual | |
Build | master | ⇒ | staging |
That's plugins, and extensions in general. Enabled or not, the code should be checking if it has the data it needs to work or gracefully abort (doing nothing or showing a message if appropriate).