1
0
Fork 0
mirror of https://github.com/kakwa/ldapcherry synced 2025-07-03 11:57:41 +02:00

disable min search lenght for admin search

This commit is contained in:
kakwa 2016-07-10 08:10:19 +02:00
parent c2f6b95fb0
commit f3fabe502e
2 changed files with 2 additions and 2 deletions

View file

@ -973,7 +973,7 @@ class LdapCherry(object):
""" search user page """
self._check_auth(must_admin=True)
is_admin = self._check_admin()
if searchstring is not None and len(searchstring) > 2:
if searchstring is not None:
res = self._search(searchstring)
else:
res = None