changeset 691:81e0be69b3a5

Oops, last commit has a bug. Must provide auth_type parameter to decorator.
author Brian Neal <bgneal@gmail.com>
date Sun, 01 Sep 2013 11:59:28 -0500 (2013-09-01)
parents 988782c6ce6c
children 4a49d4ac319f
files accounts/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.