Fix for EMM-1627

4.x.x
kamidu 8 years ago
parent ae74c74265
commit 174555b387

@ -598,6 +598,7 @@ var module = {};
if (isAuthenticated) { if (isAuthenticated) {
var tenantUser = carbonServer.tenantUser(username); var tenantUser = carbonServer.tenantUser(username);
utils.setCurrentUser(tenantUser.username, tenantUser.domain, tenantUser.tenantId); utils.setCurrentUser(tenantUser.username, tenantUser.domain, tenantUser.tenantId);
module.loadTenant(username);
var scriptArgument = { var scriptArgument = {
input: {username: username, password: password}, input: {username: username, password: password},
user: module.getCurrentUser() user: module.getCurrentUser()

Loading…
Cancel
Save