diff options
-rw-r--r-- | mod/captcha/start.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/captcha/start.php b/mod/captcha/start.php index 872bc9246..8d28a70e2 100644 --- a/mod/captcha/start.php +++ b/mod/captcha/start.php @@ -111,6 +111,9 @@ function captcha_verify_action_hook($hook, $entity_type, $returnvalue, $params) register_error(elgg_echo('captcha:captchafail')); + // forward to referrer or else action code sends to front page + forward(REFERER); + return FALSE; } |