From 9ea21606e526c79e7fc57ab799c7bdaaec1c6c27 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 30 Aug 2019 19:01:56 +0200 Subject: [PATCH] Only show external ldap settings when ?ldap query is passed for now --- src/views/users.html | 4 ++-- src/views/users.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/users.html b/src/views/users.html index 6082b7c09..28834319c 100644 --- a/src/views/users.html +++ b/src/views/users.html @@ -461,11 +461,11 @@ -
+

External LDAP

-
+

diff --git a/src/views/users.js b/src/views/users.js index 3d1363af4..49b7950b4 100644 --- a/src/views/users.js +++ b/src/views/users.js @@ -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 = [];