Permalink
Browse files

Update socialregistration/views.py

  • Loading branch information...
bradbeattie committed Mar 4, 2012
1 parent 651f190 commit 9bf404dca72067b993c258f5d28bf4d6ee2310c7
Showing with 1 addition and 0 deletions.
  1. +1 −0 socialregistration/views.py
@@ -68,6 +68,7 @@ def generate_username_and_redirect(self, request, user, profile, client):
func = self.get_username_function()
user.username = func(user, profile, client)
+ user.set_unusable_password()
user.save()
profile.user = user

0 comments on commit 9bf404d

Please sign in to comment.