Update dashboard.py (#791)

Removed `getDashboardConfiguration` from API whitelist
pull/794/head
Donald Zou 2025-06-17 05:01:04 +08:00 committed by GitHub
parent a818e87e96
commit 96b28a8e9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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'
]