[Django]-Django-allauth, recommendations for limiting failed login attempts

6👍

I’m not sure if this is the best way to go about this, but I used axes to watch allauth login like so:

from axes.decorators import watch_login
from allauth.account.views import login 

url(r'^accounts/login/$', watch_login(login)),
url(r'^accounts/', include('allauth.urls')),
👤rix

Leave a comment