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:
@@ -66,6 +66,14 @@ def tljh_post_install():
|
|||||||
Post install script to be executed after installation
|
Post install script to be executed after installation
|
||||||
and after all the other hooks.
|
and after all the other hooks.
|
||||||
|
|
||||||
|
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.
|
This can be arbitrary Python code.
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
Reference in New Issue
Block a user