From 96b28a8e9b0fb40817b827d2ee17af9d00baef19 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Tue, 17 Jun 2025 05:01:04 +0800 Subject: [PATCH] Update dashboard.py (#791) Removed `getDashboardConfiguration` from API whitelist --- src/dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dashboard.py b/src/dashboard.py index 98b55f2..34f5eb4 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -2051,7 +2051,7 @@ def auth_req(): else: DashboardConfig.APIAccessed = False whiteList = [ - '/static/', 'validateAuthentication', 'authenticate', 'getDashboardConfiguration', + '/static/', 'validateAuthentication', 'authenticate', 'getDashboardTheme', 'getDashboardVersion', 'sharePeer/get', 'isTotpEnabled', 'locale', '/fileDownload' ]