customize login form for captcha

eras mus <[email protected]> Wed, 19 Aug 2015 16:40:59 +0530
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CALeO_hN2tpoOh66EyJkRCX+FN4M15bcR9zk3LrxhvmnnJzv3LQ@mail.gmail.com>
Hi,

I need to add captcha for login form.
I am using plone 3.3.1.
I've installed collective.captcha 1.7

Customized login_form
http://pastebin.com/qyfT8MuF
and Customized login_form_validate (Validate login)
http://pastebin.com/Dw8ctuSR

I am get the captcha field in login form . Eventhough I enter
username, password and captcha field correctly I am not able to login
successfully. I am rediected to login page again.
Anything else to be done?

------------------------------------------------------------------------------