Various fixes to ldap view

also, keep it enabled for all for now
This commit is contained in:
Girish Ramakrishnan
2019-10-25 15:19:36 -07:00
parent 0a8fa40b6b
commit e412aa9a3d
2 changed files with 17 additions and 23 deletions

View File

@@ -9,8 +9,7 @@
angular.module('Application').controller('UsersController', ['$scope', '$location', '$timeout', 'Client', function ($scope, $location, $timeout, Client) {
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });
// TODO remove this later when we know with which edtion to show
$scope.showExternalLdap = $location.search().ldap;
$scope.showExternalLdap = true;
$scope.ready = false;
$scope.users = [];