Only show external ldap settings when ?ldap query is passed for now

This commit is contained in:
Johannes Zellner
2019-08-30 19:01:56 +02:00
parent c809119d57
commit 9ea21606e5
2 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,9 @@
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.ready = false;
$scope.users = [];
$scope.usersById = [];