1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-22 04:40:03 +01:00

Fix default handler arguments

This commit is contained in:
Johann Queuniet 2019-03-26 11:05:39 +01:00
parent 3b58f1464e
commit 0a96ca61d5
No known key found for this signature in database
GPG Key ID: 0241F8B1489EB3D3

View File

@ -1170,7 +1170,7 @@ class LdapCherry(object):
@cherrypy.expose
@exception_decorator
def default(self, attr='', **params):
def default(self, attr='', *args, **params):
cherrypy.response.status = 404
self._check_auth(must_admin=False)
is_admin = self._check_admin()