mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 06:53:07 +01:00
intermediate: check admin password
This commit is contained in:
@@ -123,6 +123,26 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "useAdminPass",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"description": "use a password for config modifications",
|
||||
"category": "system"
|
||||
},
|
||||
{
|
||||
"name": "adminPassword",
|
||||
"type": "password",
|
||||
"default": "esp32admin",
|
||||
"check": "checkAdminPass",
|
||||
"description": "set the password for config modifications",
|
||||
"category": "system",
|
||||
"capabilities": {
|
||||
"hardwareReset": [
|
||||
"true"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "showInvalidData",
|
||||
"label": "show all data",
|
||||
|
||||
Reference in New Issue
Block a user