aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--verification/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/verification/views.py b/verification/views.py
index 25d69b8..2aa8cde 100644
--- a/verification/views.py
+++ b/verification/views.py
@@ -15,6 +15,9 @@ def addEmailToLDAP(request, result, user):
'''
Update user's mail list in LDAP
'''
+ # TODO
+ # IMPORTANT: Get rid of admin bind, and use the secondary
+ # password to update user's data
l = ldap_admin_user_bind()
mod_attrs = [(ldap.MOD_ADD, 'mail', str(result.email))]
try: