mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove commit from super call
This commit is contained in:
parent
1695eb98ea
commit
faa620b8f0
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user