mirror of
https://github.com/pi-hole/web.git
synced 2025-12-22 03:38:29 +00:00
Show warning if user already set an application password
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user