1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

wizard password hotfix

This commit is contained in:
NoobishSVK
2024-11-07 17:07:26 +01:00
parent d206c4a72b
commit 73e7a7bf19

View File

@@ -6,7 +6,7 @@ $(document).ready(function() {
function submitConfig() {
updateConfigData(configData);
if (!configData.password || !configData.password.adminPass) {
if ($("#password-adminPass").val().length < 1) {
alert('You need to fill in the admin password before continuing further.');
return;
}