# HG changeset patch # User Brian Neal # Date 1378054768 18000 # Node ID 81e0be69b3a54b5c6eca9e786bb3d1e9f8c7e7d3 # Parent 988782c6ce6c216de5bf5863363dc7759467d6dc Oops, last commit has a bug. Must provide auth_type parameter to decorator. diff -r 988782c6ce6c -r 81e0be69b3a5 accounts/views.py --- a/accounts/views.py Sun Sep 01 00:15:42 2013 -0500 +++ b/accounts/views.py Sun Sep 01 11:59:28 2013 -0500 @@ -80,7 +80,7 @@ ####################################################################### -@log_auth_failures +@log_auth_failures('Login') def login_ajax(request): """ This view function handles a login via AJAX.