Remove ldapjs from active-entry
This commit is contained in:
parent
111e084883
commit
c386b91826
@ -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;
|
||||
}
|
||||
|
||||
@ -26,7 +26,6 @@ Package.onUse(function (api) {
|
||||
|
||||
api.use([
|
||||
'zuuk:stale-session@1.0.8',
|
||||
'typ:accounts-ldap',
|
||||
'random'
|
||||
], ['client', 'server']);
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user