diff --git a/api/views.py b/api/views.py index 074f3c5..d42ff5c 100644 --- a/api/views.py +++ b/api/views.py @@ -226,7 +226,7 @@ def NCAddUser(request): # Die gruppe Mitarbeiter holen und ebenfalls hinzufügen #ag_mitarbeiter = AgencyGroup.objects.filter(agency=user.profile.agency, agencygroupname="Mitarbeiter").first().nc_name - groups.append("agencymaingroup_" + str(user.profile.agency.pk)) + groups.append("agencymaingroupid_" + str(user.profile.agency.pk)) #password = get_random_password(50) password = ""