From 0575dcd824e06a00462a5d4d4a331cef516bc4cc Mon Sep 17 00:00:00 2001
From: Sherjeel Shabih <shabihsherjeel@gmail.com>
Date: Wed, 6 Oct 2021 14:53:04 +0200
Subject: [PATCH] Removed password req when accessing new jupyter

---
 north/app/routes/instances.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/north/app/routes/instances.py b/north/app/routes/instances.py
index f7e8703..b6762b0 100644
--- a/north/app/routes/instances.py
+++ b/north/app/routes/instances.py
@@ -121,7 +121,10 @@ async def post_instances(request: Request, instance: InstanceModel, current_user
 
     docker_client.containers.run(
         image="jupyter/datascience-notebook",
-        command=f'start-notebook.sh --NotebookApp.base_url={path}',
+        command=(
+            f'start-notebook.sh --NotebookApp.base_url={path}'
+            ' --NotebookApp.token="" --NotebookApp.password=""'
+        ),
         ports={"8888": int(f'1000{channel}')},
         detach=True,
         name=container_name,
-- 
GitLab