Skip to content
Snippets Groups Projects
Commit 1789162b authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpAuth] Fixed LDAP Group

parent f9e82104
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ def activate(request, token=None):
try:
activation_token = ActivationToken.objects.get(token=token)
group = LdapGroup.objects.filter(name="active").get()
group.members.append(activation_token.user)
group.members.append("uid="+str(activation_token.user)+",ou=users,dc=warpzone,dc=ms")
group.save()
activation_token.delete()
except ObjectDoesNotExist:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment