Skip to content
Snippets Groups Projects
Commit 997f3a65 authored by Julian's avatar Julian
Browse files

Removed User.ldif

parent cec51a3d
Branches
Tags
No related merge requests found
......@@ -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
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment