User Authentication Implemented
This commit is contained in:
1 parent
35cf0a50ce
commit
70ec8f0e90
6 files changed
+100
-59
No files matched your search
@@ -52,9 +52,11 @@ function loadAdvancedAlgosPlatform() {
|
||||
|
||||
callServer(undefined, path, onServerReponded);
|
||||
|
||||
function onServerReponded(pResponse) {
|
||||
function onServerReponded(pResponseFromServer) {
|
||||
|
||||
err = JSON.parse(pResponse);
|
||||
let responseFromServer = JSON.parse(pResponseFromServer);
|
||||
|
||||
err = responseFromServer.err;
|
||||
|
||||
if (err.result !== GLOBAL.DEFAULT_OK_RESPONSE.result) {
|
||||
|
||||
@@ -63,6 +65,8 @@ function loadAdvancedAlgosPlatform() {
|
||||
|
||||
}
|
||||
|
||||
window.USER_PROFILE = responseFromServer.userProfile;
|
||||
|
||||
loadModules();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user