Show warning if user already set an application password

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-06-15 11:24:00 +02:00
parent 4349f684b6
commit 3681d7187a
2 changed files with 5 additions and 0 deletions

View File

@@ -266,6 +266,8 @@ function processWebServerConfig() {
})
.done(function (data) {
setConfigValues("webserver", "webserver", data.config.webserver);
if (data.config.webserver.api.app_pwhash.value.length > 0)
$("#existing_apppw_warning").show();
})
.fail(function (data) {
apiFailure(data);