diff --git a/ldapcherry/__init__.py b/ldapcherry/__init__.py index b1dcc78..435375a 100644 --- a/ldapcherry/__init__.py +++ b/ldapcherry/__init__.py @@ -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