1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-24 02:14:20 +01:00

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

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