diff --git a/common.php b/common.php index a28c450..2abb476 100644 --- a/common.php +++ b/common.php @@ -1790,7 +1790,6 @@ output:
- @@ -1833,7 +1832,7 @@ output: xhr.onerror = function(e){ alert("Network Error "+xhr.status); } - xhr.send("pass=" + sha1(config_f.pass.value + "" + timestamp) + "&config_b=" + b.value + "×tamp=" + timestamp); + xhr.send("pass=" + sha1(config_f.pass.value + "" + timestamp) + "&config_b=" + b.value + "×tamp=" + timestamp + "&_admin=" + localStorage.getItem("admin")); } function importConfig(b) { if (config_f.pass.value=="") { @@ -1873,7 +1872,7 @@ output: xhr.onerror = function(e){ alert("Network Error "+xhr.status); } - xhr.send("pass=" + sha1(config_f.pass.value + "" + timestamp) + "&config_t=" + encodeURIComponent(config_f.config_t.value) + "&config_b=" + b.value + "×tamp=" + timestamp); + xhr.send("pass=" + sha1(config_f.pass.value + "" + timestamp) + "&config_t=" + encodeURIComponent(config_f.config_t.value) + "&config_b=" + b.value + "×tamp=" + timestamp + "&_admin=" + localStorage.getItem("admin")); } function changePassword(f) { if (f.oldPass.value==""||f.newPass1.value==""||f.newPass2.value=="") {
' . getconstStr('AdminPassword') . ':