Skip to content

Commit

Permalink
Sometimes username might not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Jan 20, 2012
1 parent 8ec7caf commit 47085aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pinax/apps/account/forms.py
Expand Up @@ -255,8 +255,8 @@ def is_valid(self, *args, **kwargs):
result = super(SignupForm, self).is_valid(*args, **kwargs)
user_sign_up_attempt.send(
sender=SignupForm,
username=self.data["username"],
email=self.data["email"],
username=self.data.get("username"),
email=self.data.get("email"),
result=result
)
return result
Expand Down

0 comments on commit 47085aa

Please sign in to comment.