ShaastraWebops / Shaastra-2013-Website

12 stars 7 forks source link

Show reCAPTCHA Error Message #60

Closed anantgirdhar-zz closed 12 years ago

anantgirdhar-zz commented 12 years ago

I added reCAPTCHA to the registration page. The only thing that I was not able to do was to show the error message if there is some validation error in the reCAPTCHA. I have added a comment in the template (templates/users/register.html). Have a look at that and see if doing that will be good.

I also think it will be better if the error message is not the same error message that comes from the Google reCAPTCHA server (which is what is displayed currently if you uncomment the code in the html file). So if required, the error code can be processed in the view and a better error message can bed displayed. I have added a captcha_response variable for the same.

syerramilli commented 12 years ago

added an captcha error message in the template