summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-04-05 18:15:52 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2016-04-05 18:17:29 +0200
commit15a2856f8d5bf4ffdc7a246f8e7eacacc92ec38b (patch)
treefe38e8025fb7f10efd24df791688fa74c2d9362b
parent05c403351791b9f3969e01560d68ecc211cf7e31 (diff)
downloadweb-15a2856f8d5bf4ffdc7a246f8e7eacacc92ec38b.tar.gz
web-15a2856f8d5bf4ffdc7a246f8e7eacacc92ec38b.tar.bz2
web-15a2856f8d5bf4ffdc7a246f8e7eacacc92ec38b.zip
index: Update user without admin rights
The ACLs of the LDAP server are adjusted, so that an update does not require admin rights anymore.
-rw-r--r--accounts/views/default/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/views/default/__init__.py b/accounts/views/default/__init__.py
index 9aba6e8..68a7679 100644
--- a/accounts/views/default/__init__.py
+++ b/accounts/views/default/__init__.py
@@ -155,7 +155,7 @@ def index():
current_user.change_password(field.data, None, service.id)
if changed:
- current_app.user_backend.update(current_user, as_admin=True) #XXX: as_admin wieder wegmachen sobald ACLs richtig gesetzt sind
+ current_app.user_backend.update(current_user)
login_user(current_user)
return redirect(url_for('.index'))
else: