]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/backend/accounts.py
talk: Allow admins to see registrations of all users
[ipfire.org.git] / src / backend / accounts.py
index 3a80b7b39b1c7c2a90ee4bb2aea742ef3396a672..7e6e4431d5672fde36a1aa744eb53aa95cf3cbb4 100644 (file)
@@ -229,7 +229,7 @@ class Account(Object):
                        for dn, attrs in res:
                                cns = attrs.get("cn")
                                if cns:
-                                       self._groups.append(cns[0])
+                                       self._groups.append(cns[0].decode())
 
                return self._groups