mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 01:14:21 +01:00
Fix default handler arguments
This commit is contained in:
parent
3b58f1464e
commit
0a96ca61d5
@ -1170,7 +1170,7 @@ class LdapCherry(object):
|
|||||||
|
|
||||||
@cherrypy.expose
|
@cherrypy.expose
|
||||||
@exception_decorator
|
@exception_decorator
|
||||||
def default(self, attr='', **params):
|
def default(self, attr='', *args, **params):
|
||||||
cherrypy.response.status = 404
|
cherrypy.response.status = 404
|
||||||
self._check_auth(must_admin=False)
|
self._check_auth(must_admin=False)
|
||||||
is_admin = self._check_admin()
|
is_admin = self._check_admin()
|
||||||
|
Loading…
Reference in New Issue
Block a user