remove commit from super call

This commit is contained in:
Matthias 2021-10-17 18:52:59 +02:00
parent 1695eb98ea
commit faa620b8f0
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -266,7 +266,7 @@ class RegistratonMixin:
return False return False
def save_user(self, request, user, form, commit=True): def save_user(self, request, user, form, commit=True):
user = super().save_user(request, user, form, commit=commit) user = super().save_user(request, user, form)
start_group = InvenTreeSetting.get_setting('SIGNUP_GROUP') start_group = InvenTreeSetting.get_setting('SIGNUP_GROUP')
if start_group: if start_group:
try: try: