mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-27 16:56:57 +00:00
Update dashboard.py (#791)
Removed `getDashboardConfiguration` from API whitelist
This commit is contained in:
parent
a818e87e96
commit
96b28a8e9b
@ -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'
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user