Here is small patch to implement captcha on Horde login page. We have implemeteded Text_CAPTCHA_Numeral. Package for Centos is here: http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repoview/php-pear-Text-CAPTCHA-Numeral.html. Here is the patch. — horde-webmail-1.2.8.orig/imp/login.php 2010-10-25 17:10:05.000000000 +0200 +++ horde-webmail-1.2.8/imp/login.php 2010-11-30 17:36:27.571023703 +0100 @@ -398,6 +398,7 @@ $t->set(’user_vinfo’, Horde::callHook(’_imp_hook_vinfo’, array(’vdomain’), ‘imp’)); } $t->set(’password_tabindex’, ++$tabindex); +$t->set(’captch_tabindex’, ++$tabindex); $t->set(’change_smtphost’, (!empty($conf[’server’][’change_smtphost’]))); if ($t->get(’change_smtphost’)) { @@ [...]
Pages
Categories
Archives