From 9c1c3d27c442abef691c3c941a869d63e1b38d53 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Tue, 11 May 2021 16:10:39 +0200 Subject: [PATCH] Do not require auth in dev mode --- lumen/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lumen/dashboard.py b/lumen/dashboard.py index 78afdc7b2..a16f0c47f 100644 --- a/lumen/dashboard.py +++ b/lumen/dashboard.py @@ -242,7 +242,7 @@ def _resolve_views(self): @property def _authorized(self): if pn.state.user_info is None and self.auth: - return False + return config.dev authorized = True for k, value in self.auth.items(): if not isinstance(value, list): value = [value]