mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-07-10 07:06:59 +00:00
Update dashboard.py
This commit is contained in:
parent
cd11c4beb6
commit
60d40935d5
@ -1758,7 +1758,11 @@ class DashboardConfig:
|
|||||||
open(DASHBOARD_CONF, "x")
|
open(DASHBOARD_CONF, "x")
|
||||||
self.__config = configparser.ConfigParser(strict=False)
|
self.__config = configparser.ConfigParser(strict=False)
|
||||||
self.__config.read_file(open(DASHBOARD_CONF, "r+"))
|
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 = {
|
self.__default = {
|
||||||
"Account": {
|
"Account": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user