Fix: revised php code to admin
This commit is contained in:
@@ -22,14 +22,14 @@
|
||||
let name = $("#maestro_name").val();
|
||||
let password = $("#password").val();
|
||||
|
||||
|
||||
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
|
||||
"./../server/maestro/login.php",
|
||||
"maestro_name=" + name + "&password=" + password,
|
||||
|
||||
(jsonData) => {
|
||||
maestroID = jsonData["MaestroID"];
|
||||
maestroID = jsonData["maestroID"];
|
||||
sessionStorage.setItem("maestroID", maestroID);
|
||||
|
||||
location.href = 'admin_register_list.html';
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user