josephg/ShareJS — pull request #133 by dgreisen (2012-10-21 00:55:08+00:00)
Title: authenticate() can pass custom error message to client through reject(msg)

Now the authenticate() function can pass a custom error message to
the client by providing the message in action.reject(msg).
originally, rejection resulted in an unchangeable and not particularly
useful "forbidden" error.

includes tests