Commit cecc2979ef3d93b574a62eff5dff303d538f133c

Authored by Utkarsh Singh
1 parent 9903b566

Committed updated code

400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.dll
No preview for this file type
400-SOURCECODE/AIAHTML5.API/bin/AIAHTML5.API.pdb
No preview for this file type
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -151,7 +151,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -151,7 +151,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
151 $("#messageModal").modal('show'); 151 $("#messageModal").modal('show');
152 } 152 }
153 else { 153 else {
154 - if ((!result.IsSubscriptionExpired) && (result.UserType == UserTypeConstants.SUPER_ADMIN)) { 154 + if ((!result.IsSubscriptionExpired) && (result.UserType == UserTypeConstants.SUPER_ADMIN) || result.UserType == UserTypeConstants.GENERAL_ADMIN && result.IsActive) {
155 $rootScope.userData = result; 155 $rootScope.userData = result;
156 $rootScope.userModules = result.Modules; 156 $rootScope.userModules = result.Modules;
157 $rootScope.isVisibleLogin = false; 157 $rootScope.isVisibleLogin = false;