Fixing issue: EMM-1537

revert-70aa11f8
amalhub 8 years ago
parent 8b4649b4e5
commit c87c5a8322

@ -84,7 +84,6 @@ var invokers = function () {
if (accessToken == null) { if (accessToken == null) {
userModule.logout(function () { userModule.logout(function () {
response.sendRedirect(devicemgtProps["appContext"] + "login"); response.sendRedirect(devicemgtProps["appContext"] + "login");
return responseCallback({"status": 401, "responseText" : "Session expired!"});
}); });
} else { } else {
xmlHttpRequest.setRequestHeader(constants["AUTHORIZATION_HEADER"], xmlHttpRequest.setRequestHeader(constants["AUTHORIZATION_HEADER"],

Loading…
Cancel
Save