Commits

Chris Hasenpflug committed 331e544

Don't make everyone staff/superuser

Comments (0)

Files changed (1)

xenforo/backends.py

         user, created = UserModel.objects.get_or_create(**{
             UserModel.USERNAME_FIELD: username,
             'defaults': {'pk': row['user_id'],
-                         'is_staff': True,
-                         'is_superuser': True,
                          'password': convert_to_django_password(row['scheme_class'], row['data'])
                         }
         })