From ab52a1cc50b4d77de72c930655af99a9413a0040 Mon Sep 17 00:00:00 2001 From: SuperMaskv Date: Thu, 11 Jul 2024 17:55:12 +0800 Subject: [PATCH] allow all signed-up users to login by default --- basic-example/jupyterhub_config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/basic-example/jupyterhub_config.py b/basic-example/jupyterhub_config.py index 028f65c..c2f2e7a 100644 --- a/basic-example/jupyterhub_config.py +++ b/basic-example/jupyterhub_config.py @@ -46,6 +46,9 @@ c.JupyterHub.cookie_secret_file = "/data/jupyterhub_cookie_secret" c.JupyterHub.db_url = "sqlite:////data/jupyterhub.sqlite" +# Allow all signed-up users to login +c.Authenticator.allow_all = True + # Authenticate users with Native Authenticator c.JupyterHub.authenticator_class = "nativeauthenticator.NativeAuthenticator"