kahmali / meteor-restivus

REST APIs for the Best of Us! - A Meteor 0.9+ package for building REST APIs https://atmospherejs.com/nimble/restivus
MIT License
544 stars 117 forks source link

Fix crash if user password `bcrypt` not set in user #301

Open adamgins opened 5 years ago

adamgins commented 5 years ago

Please see https://github.com/kahmali/meteor-restivus/issues/300 this is a pretty urgent fix as it crashes whole Meteor server if bcrypt is not set. It may be good to wrap the auth "stuff" in a try catch. Sorry my coffeescript is not that great.