django-security/django-axes — pull request #97 by SteveByerly (2014-09-09 21:49:18+00:00)
Title: Allow for user-defined username field for lookup in POST data

The POST data that gets passed from the login form is not always guaranteed to use 'username' as the name of the username field. In fact, django-allauth uses 'login' since the field could be a username or email address. This PR allows for a custom username field name that falls back on the existing default 'username' to ensure backwards compatibility.