summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-22 18:20:47 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-22 18:20:47 -0400
commitfef0de218e9485ea3db394f3e173b3c64a0463a8 (patch)
tree935f5a3e32e03d0f964608afb6d0cb67f335063f /src/plugins
parent485cc0fad823d50ed07df15f629ff824d2332ece (diff)
Add an ugly hacky-hacked reCaptcha to new user registration.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/ReCaptcha.class.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/ReCaptcha.class.php b/src/plugins/ReCaptcha.class.php
new file mode 100644
index 0000000..c25147f
--- /dev/null
+++ b/src/plugins/ReCaptcha.class.php
@@ -0,0 +1,14 @@
+<?php
+
+class ReCaptcha extends Plugin {
+ protected $config = array('public_key'=>'',
+ 'private_key'=>'');
+ public static function description() {
+ return 'Add a reCaptcha to keep out spam users.';
+ }
+ public static function configList() {
+ return array('public_key'=>'text',
+ 'private_key'=>'text');
+ }
+ public function init() {}
+}