mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-19 16:03:00 +00:00
flesh out REST API
can now list/view/add/create/modify users and start/stop single-user servers
This commit is contained in:
@@ -38,7 +38,7 @@ def auth_decorator(check_auth):
|
||||
def decorator(method):
|
||||
def decorated(self, *args, **kwargs):
|
||||
check_auth(self)
|
||||
return method(self, *args)
|
||||
return method(self, *args, **kwargs)
|
||||
decorated.__name__ = method.__name__
|
||||
decorated.__doc__ = method.__doc__
|
||||
return decorated
|
||||
|
Reference in New Issue
Block a user