Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update socialregistration/forms.py

  • Loading branch information...
commit 6f28b8b2cd2d8d1e67506c8578f7631d249c9cc5 1 parent 5bdb25b
@bildja bildja authored committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  socialregistration/forms.py
View
1  socialregistration/forms.py
@@ -23,6 +23,7 @@ def clean_username(self):
def save(self, request, user, profile, client):
user.username = self.cleaned_data.get('username')
user.email = self.cleaned_data.get('email')
+ user.set_unusable_password()
user.save()
profile.user = user
profile.save()
Please sign in to comment.
Something went wrong with that request. Please try again.