rlidwka / sinopia-ldap

LDAP auth plugin for sinopia
18 stars 12 forks source link

Authenticate error and implement adduser #12

Open plitex opened 9 years ago

plitex commented 9 years ago

Hi,

First of all, sorry because we have two commits in one pull request, I didn't know how to split them after my push.

I've fixed a problem when returning from bad authentication that was hiding errors on npm.

I also added a fake implementation on adduser method to allow login and token creation.

Hope it helps.