summaryrefslogtreecommitdiff
path: root/modules/recaptcha/helpers/recaptcha_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/recaptcha/helpers/recaptcha_event.php')
-rw-r--r--modules/recaptcha/helpers/recaptcha_event.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/recaptcha/helpers/recaptcha_event.php b/modules/recaptcha/helpers/recaptcha_event.php
index 7a0b4f58..04af9568 100644
--- a/modules/recaptcha/helpers/recaptcha_event.php
+++ b/modules/recaptcha/helpers/recaptcha_event.php
@@ -28,6 +28,12 @@ class recaptcha_event_Core {
}
}
+ static function register_add_form($form) {
+ if (module::get_var("recaptcha", "public_key")) {
+ $form->register_user->recaptcha("recaptcha")->label("")->id("g-recaptcha");
+ }
+ }
+
static function admin_menu($menu, $theme) {
$menu->get("settings_menu")
->append(Menu::factory("link")