From 5b384071e41f5b04fcc5cd6ff3148b489b61fdca Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 17 Oct 2012 23:16:44 +0100 Subject: [PATCH] Fix typo --- django-testauth/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-testauth/auth.py b/django-testauth/auth.py index 47d87f5..01b85db 100644 --- a/django-testauth/auth.py +++ b/django-testauth/auth.py @@ -40,7 +40,7 @@ class TESTAuthBackend: user.set_unusable_password() # disable login through Model backend if email: user.email = email - if name + if name: user.first_name = name user.save()