gruppen adding sicherer
This commit is contained in:
parent
059a19ba3a
commit
fc2bfe79ee
|
|
@ -224,9 +224,9 @@ def NCAddUser(request):
|
|||
groups.append(AgencyGroup.objects.get(group=g).nc_name)
|
||||
|
||||
# Die gruppe Mitarbeiter holen und ebenfalls hinzufügen
|
||||
ag_mitarbeiter = AgencyGroup.objects.filter(agency=user.profile.agency, agencygroupname="Mitarbeiter").first().nc_name
|
||||
#ag_mitarbeiter = AgencyGroup.objects.filter(agency=user.profile.agency, agencygroupname="Mitarbeiter").first().nc_name
|
||||
|
||||
groups.append(ag_mitarbeiter)
|
||||
groups.append("agencymaingroup_" + str(user.profile.agency.pk))
|
||||
|
||||
#password = get_random_password(50)
|
||||
password = ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue