summaryrefslogtreecommitdiffstats
path: root/account.py
diff options
context:
space:
mode:
Diffstat (limited to 'account.py')
-rw-r--r--account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.py b/account.py
index 21af7ff..2ac3248 100644
--- a/account.py
+++ b/account.py
@@ -159,7 +159,7 @@ class AccountService:
attr = [
('objectClass', ['top','inetOrgPerson']),
('uid', uid), ('sn', 'n/a'), ('cn', uid),
- ('mail', account.mail)
+ ('mail', account.attributes['mail'])
]
self.connection.add_s(dn, attr)
account.dn = dn