leon/play-salat — pull request #3 by kellerds (2012-05-04 06:20:54+00:00)
Title: Authentication issues with Mongolab

Hi Leon -

Started using play-salat the other day, but was failing to authenticate with mongolab.com. I dug into the code and found a few issues that are resolved with this commit.

I'm not using authentication with my local mongo instance, but this is definitely an issue with Mongolab.com. Any concerns with these changes?

Thanks,

Dennis

Commit log:

1) MongoSource.toString did not print correct if user was provided. Added parens.
2) Underlying DB.authenticate(String,String) returns true if authenticated; else false. Now handle that correctly -> Was reversed.