Skip to content

Commit

Permalink
Should be using create_user instead of create
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas committed Jan 19, 2010
1 parent 4abe3ec commit 363ee4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebook_connect/__init__.py
Expand Up @@ -25,7 +25,7 @@ def register(self, request, **kwargs):
# Should we redirect here, or return False and redirect in post_registration_redirect?
return False
except User.DoesNotExist:
user_obj = User.objects.create(
user_obj = User.objects.create_user(
username=uid,
email='',
password=User.objects.make_random_password(16)
Expand Down

0 comments on commit 363ee4a

Please sign in to comment.