node-xmpp/node-xmpp — pull request #249 by srajbr (2014-06-08 05:46:14+00:00)
Title: User authentication

Authentication mechanism requires two parameter err and user - https://github.com/node-xmpp/node-xmpp-server/blob/master/lib/authentication/mechanism.js
When err is null, user must not be null for successful authentication.