Commits

Byron Ruth  committed 1b7a0c9

fixed wrong status

  • Participants
  • Parent commits b3cbe2c

Comments (0)

Files changed (1)

File registration/backends/default/__init__.py

         profile.activation_key = ALREADY_ACTIVATED
         profile.save()
 
-        if cleaned_data['status'].lower() == 'accept':
+        if cleaned_data['status'].lower() == 'approve':
             # mark the user as active
             profile.user.is_active = True
             profile.user.save()