I am using Django-registration package. On that I have successfully implemented Django-reCAPTCHA package. CAPTCHA appears every time on login.
Now I want the CAPTCHA to appear only after 3 failed login attempts. How can I implement that?
Any help is appreciated. Thanks.
Store number of login attemplts in session https://docs.djangoproject.com/en/1.8/topics/http/sessions/ and use
"django.contrib.sessions.backends.signed_cookies"