etyp / meteor-accounts-ldap

A Meteor package for logging in and creating users with LDAP credentials
MIT License
39 stars 23 forks source link

Needs accounts-password #13

Closed rmbrich closed 8 years ago

rmbrich commented 8 years ago

Hi @typ90, great job on this so far. Got it working with my company's Active Directory environment.

Just an FYI - if createNewUser is enabled, but the meteor accounts-password package is not installed, this error is thrown on the server upon successful LDAP login: Exception while invoking method 'login' TypeError: Object [object Object] has no method 'createUser'

Doing a meteor add accounts-password fixes the problem. Maybe you should make your package depend on accounts-password or at least call this out in the documentation.

Thanks! Rob

etyp commented 8 years ago

Hi Rob!

I've added accounts-password dependency to the project.