summaryrefslogtreecommitdiffstats
path: root/accounts/backend/user/ldap.py
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/backend/user/ldap.py')
-rw-r--r--accounts/backend/user/ldap.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/accounts/backend/user/ldap.py b/accounts/backend/user/ldap.py
index 6ab02c6..ea1b7fc 100644
--- a/accounts/backend/user/ldap.py
+++ b/accounts/backend/user/ldap.py
@@ -92,10 +92,7 @@ class LdapBackend(Backend):
return accounts
- def register(self, account):
- """
- Persists an account in the backend.
- """
+ def _store(self, account):
conn = self._connect_as_admin()
user_dn = self._format_dn([('uid', account.uid), ('ou', 'users')])