summaryrefslogtreecommitdiffstats
path: root/accounts/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/models.py')
-rw-r--r--accounts/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/accounts/models.py b/accounts/models.py
index 8f1b541..82dab45 100644
--- a/accounts/models.py
+++ b/accounts/models.py
@@ -12,13 +12,14 @@ class Account(UserMixin):
"""
_ready = False
- def __init__(self, uid, mail, services=None, password=None):
+ def __init__(self, uid, mail, services=None, password=None, uidNumber=None):
self.uid = uid.encode('utf8') if isinstance(uid, unicode) else uid
self.services = list() if services is None else services
self.password = password.encode('utf8') if isinstance(password, unicode) else password
self.new_password_root = None
self.new_password_services = {}
self.attributes = {}
+ self.uidNumber = uidNumber
self._set_attribute('mail', mail)
self._ready = True