Add: session storage manager - maestroAccountType, playerAccountType
This commit is contained in:
1 parent
ade28a3334
commit
d97dbaa20f
9 files changed
+83
-47
No files matched your search
@@ -28,8 +28,8 @@ function login() {
|
||||
"maestro_name=" + name + "&password=" + password,
|
||||
|
||||
(jsonData) => {
|
||||
maestroID = jsonData["maestroID"];
|
||||
sessionStorage.setItem("maestroID", maestroID);
|
||||
sessionStorage.setItem("maestroID", jsonData["maestroID"]);
|
||||
sessionStorage.setItem("maestroAccountType", jsonData["maestroAccountType"]);
|
||||
|
||||
location.href = './../maestro/main_menu.html';
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user