Merge pull request #24 from jqueuniet/fix_default_handler

Fix default handler arguments
This commit is contained in:
Carpentier Pierre-Francois 2019-05-03 12:09:13 +02:00 committed by GitHub
commit 856157af79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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()