1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-22 09:24:21 +01:00

adding a search page dedicated for admin

This commit is contained in:
kakwa 2015-05-30 22:19:57 +02:00
parent 22364c0f03
commit 181597e273

View File

@ -447,6 +447,12 @@ class LdapCherry(object):
@cherrypy.expose
def searchuser(self):
""" search user page """
self._check_auth(must_admin=False)
pass
@cherrypy.expose
def searchadmin(self):
""" search user page """
self._check_auth(must_admin=True)
pass