Commits

dready committed 4a6e360

remove password2 from kwargs before passing it on

Comments (0)

Files changed (1)

registration/backends/default/__init__.py

 
         """
         username, email, password = kwargs.pop('username'), kwargs.pop('email'), kwargs.pop('password1')
+        kwargs.pop('password2', None) # don't want this for create_inactive_user either
         if Site._meta.installed:
             site = Site.objects.get_current()
         else: