Commits

offline  committed 98e3205

create user bugfix

  • Participants
  • Parent commits cfc46f1

Comments (0)

Files changed (1)

File publicauth/forms.py

             raise forms.ValidationError(_(u'This username name is already taken'))
         return self.cleaned_data['username']
 
-    def save(self, identity, provider):
+    def save(self, request, identity, provider):
         user = User.objects.create(username=self.cleaned_data['username'])
         if settings.PUBLICAUTH_ACTIVATION_REQUIRED:
             user.is_active = False