diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-22 18:20:47 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-22 18:20:47 -0400 |
commit | fef0de218e9485ea3db394f3e173b3c64a0463a8 (patch) | |
tree | 935f5a3e32e03d0f964608afb6d0cb67f335063f /src/plugins/ReCaptcha.class.php | |
parent | 485cc0fad823d50ed07df15f629ff824d2332ece (diff) |
Add an ugly hacky-hacked reCaptcha to new user registration.
Diffstat (limited to 'src/plugins/ReCaptcha.class.php')
-rw-r--r-- | src/plugins/ReCaptcha.class.php | 14 |
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() {} +} |