Permalink
Browse files

Fix so new users always get email. Closes #857.

  • Loading branch information...
1 parent 1ab6a47 commit 89f4311cb4dace74cd547eda85405c5137e483c6 @onyxfish onyxfish committed Aug 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 panda/admin.py
View
@@ -62,6 +62,7 @@ def save(self, commit=True):
user.email = user.email.lower()
user.username = user.email
user.is_active = False
+ user.set_unusable_password()
if commit:
user.save()

0 comments on commit 89f4311

Please sign in to comment.