Commit 0ca9b22c authored by soxofaan's avatar soxofaan

#227478: limited size of text CAPTCHA text field to 15 chars

parent a00a5bbb
......@@ -57,6 +57,7 @@ function text_captcha_captcha($op, $captcha_type='') {
'#type' => 'textfield',
'#title' => t('What is the @nth word in the phrase "@words"?', array('@nth' => _text_captcha_ordinal($key+1), '@words' => implode(' ', $words))),
'#weight' => 0,
'#size' => 15,
'#required' => TRUE,
);
return $result;
......
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