User Authentication Implemented

This commit is contained in:
Luis Fernando Molina committed 2018-06-14 16:10:57 +02:00
1 parent 35cf0a50ce
commit 70ec8f0e90
6 files changed
+100 -59

No files matched your search

+6 -2
View File
@@ -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();
}