mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
add hook
This commit is contained in:
@@ -69,3 +69,11 @@ def tljh_post_install():
|
||||
This can be arbitrary Python code.
|
||||
"""
|
||||
pass
|
||||
|
||||
@hookspec
|
||||
def tljh_new_user_create(username):
|
||||
"""
|
||||
Script to be executed after a new user has been added.
|
||||
This can be arbitrary Python code.
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user