Fix users view for user manager role
This commit is contained in:
@@ -647,6 +647,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
if (error) return console.error('Unable to get external ldap config.', error);
|
||||
|
||||
$scope.externalLdap.currentConfig = result;
|
||||
$scope.externalLdap.checkStatus();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -667,10 +668,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
};
|
||||
|
||||
Client.onReady(refresh);
|
||||
Client.onReady(function () {
|
||||
loadExternalLdapConfig();
|
||||
$scope.externalLdap.checkStatus();
|
||||
});
|
||||
Client.onReady(function () { if ($scope.user.isAtLeastAdmin) loadExternalLdapConfig(); });
|
||||
Client.onReady(function () {
|
||||
Client.getUsers(function (error, results) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
Reference in New Issue
Block a user