diff --git a/uffd/user/models.py b/uffd/user/models.py index 14435f00276b4e8f18059f06e770f4b257760abc..40a829c3851b31dbe915b755cdcc73b710e96788 100644 --- a/uffd/user/models.py +++ b/uffd/user/models.py @@ -59,10 +59,6 @@ class BaseUser(ldap.Model): self.pwhash = hashed(HASHED_SALTED_SHA512, value) password = property(fset=password) - @property - def ldif(self): - return '<none yet>' # TODO: Do we really need this?! - def is_in_group(self, name): if not name: return True diff --git a/uffd/user/templates/user.html b/uffd/user/templates/user.html index ac7f3bf72df756a3d4c1b658e6373a8b4afc2b57..e289ea8d38c9d41936340c0ea106ca03dd97b64b 100644 --- a/uffd/user/templates/user.html +++ b/uffd/user/templates/user.html @@ -129,7 +129,7 @@ </div> <div class="tab-pane fade" id="ldif" role="tabpanel" aria-labelledby="ldif-tab"> <div class="form-group col"> - <pre>{{ user.ldif }}</pre> + <pre>{{ '<not available>'|e }}</pre> </div> </div> </div>