Load existing users on startup when LDAP is enabled

Fixes #3219
This commit is contained in:
Pavel Djundik 2019-10-31 11:01:44 +02:00
commit fe4e0343a4
5 changed files with 31 additions and 14 deletions

View file

@ -150,6 +150,11 @@ describe("LDAP authentication plugin", function() {
Helper.config.ldap.primaryKey = primaryKey;
});
afterEach(function() {
Helper.config.public = true;
Helper.config.ldap.enable = false;
});
describe("LDAP authentication availability", function() {
it("checks that the configuration is correctly tied to isEnabled()", function() {
Helper.config.ldap.enable = true;