Update dashboard.py

This commit is contained in:
Donald Zou 2025-04-24 17:25:27 +08:00
parent cd11c4beb6
commit 60d40935d5

View File

@ -1758,7 +1758,11 @@ class DashboardConfig:
open(DASHBOARD_CONF, "x")
self.__config = configparser.ConfigParser(strict=False)
self.__config.read_file(open(DASHBOARD_CONF, "r+"))
self.hiddenAttribute = ["totp_key", "auth_req"]
self.hiddenAttribute = [
"totp_key", "auth_req", "wg_conf_path", "awg_conf_path",
"app_prefix", "app_ip", "app_port", "auth_req", "version",
"welcome_session", "username", "password", "enable_totp", "totp_verified"
]
self.__default = {
"Account": {
"username": "admin",