maccesch / cmsplugin-contact

Extendable contact plugin for django-cms with spam protection and i18n
BSD 2-Clause "Simplified" License
71 stars 62 forks source link

Recaptcha form validation #55

Closed Mactory closed 10 years ago

Mactory commented 10 years ago

I improved the recaptcha form validation by moving the independent clean methods of the captcha fields into the clean method. Before, the captcha was actually evaluated twice, this caused problems for me, since the recaptcha API only allows correct validation once. Since I needed the form to be used in a business environment, I also adjusted the error messages to be more polite.

maccesch commented 10 years ago

Thanks!