Commit 3c7df743 authored by Arnab Nandi's avatar Arnab Nandi

Fixed bug #15808

parent 82d0c8f8
......@@ -75,6 +75,7 @@ function captcha_settings() {
* Implementation of hook_menu(), for adding form elements & validation.
*/
function captcha_user($type, &$edit, &$user, $category = NULL) {
global $user;
// What type of registration action are we taking?
//make sure this is a registration, and captcha is enabled for registration
......@@ -293,4 +294,4 @@ function _captcha_image() {
}
?>
\ No newline at end of file
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment