hannesgassert/mojo — comment on commit c804864efa37f4f4dab0e2046045c1d1a159c002
File: src/mojo.coffee line 39
By wereHamster:

So.. if I authenticate but the server is not protected, then it throws an error. And if I don't authenticate then commands are silently discarded? Is there a reliable way to find out whether the database is protected and the user should supply credentials, so we can properly fail?