2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

Merge pull request #2192 from matmair/fix-sso-signup

Fix sso signup
This commit is contained in:
Oliver
2021-10-24 08:32:08 +11:00
committed by GitHub

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: