Remove ldapjs from active-entry

This commit is contained in:
Erik Ziegler committed 2017-06-15 09:19:42 +02:00
1 parent 111e084883
commit c386b91826
3 files changed
+2 -2

No files matched your search

+1
View File
@@ -51,6 +51,7 @@ if (Meteor.isClient) {
}
if (Meteor.isServer) {
LDAP_DEFAULTS = {};
LDAP_DEFAULTS.url = Meteor.settings.ldap && Meteor.settings.ldap.url;
LDAP_DEFAULTS.port = Meteor.settings.ldap && Meteor.settings.ldap.port;
}
-1
View File
@@ -26,7 +26,6 @@ Package.onUse(function (api) {
api.use([
'zuuk:stale-session@1.0.8',
'typ:accounts-ldap',
'random'
], ['client', 'server']);
+1 -1
View File
@@ -154,7 +154,7 @@ Meteor.methods({
},
isLDAPSet: function() {
if (LDAP_DEFAULTS.url && LDAP_DEFAULTS.port) {
if (LDAP_DEFAULTS && LDAP_DEFAULTS.url && LDAP_DEFAULTS.port) {
return true;
}