yocontra / smog

HTML5/Node/WebSocket MongoDB panel
MIT License
443 stars 42 forks source link

Enable authentication with smog! #22

Closed akumpf closed 11 years ago

akumpf commented 12 years ago

2 updates here:  - if user entered a password, try to authenticate against "admin" db first then drop back to desired database.  - if any admin operation fails (in the case of a non-admin user), keep going; don't assume we should throw an error here.