From 174555b387aa1e6c98239666604cf223c4bf4b1a Mon Sep 17 00:00:00 2001 From: kamidu Date: Tue, 27 Sep 2016 11:29:34 +0530 Subject: [PATCH] Fix for EMM-1627 --- .../jaggeryapps/uuf-template-app/lib/modules/auth/auth.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/lib/modules/auth/auth.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/lib/modules/auth/auth.js index 9809f0a9988..fff0a77e508 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/lib/modules/auth/auth.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/uuf-template-app/lib/modules/auth/auth.js @@ -598,6 +598,7 @@ var module = {}; if (isAuthenticated) { var tenantUser = carbonServer.tenantUser(username); utils.setCurrentUser(tenantUser.username, tenantUser.domain, tenantUser.tenantId); + module.loadTenant(username); var scriptArgument = { input: {username: username, password: password}, user: module.getCurrentUser()