From abb974d0bcd8b93d301c8d78bcd390e411aed564 Mon Sep 17 00:00:00 2001 From: Holger Trampe Date: Sat, 23 Oct 2021 17:51:09 +0200 Subject: [PATCH] Save --- api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""