diff -r 74a24eb1fb44 -r 701b83c8b687 xmpp.js --- a/xmpp.js Wed Feb 24 22:26:09 2010 -0800 +++ b/xmpp.js Mon Mar 01 15:50:19 2010 +0000 @@ -224,8 +224,10 @@ this.debug("STREAM: opened."); this._setStatus(xmpp.Status.AUTHENTICATING); var handshake = sha1.hex(attr.id + this.password); + this.debug("Calculated authentication token " + handshake + + " from stream id '" + attr.id + + "' and password '" + this.password + "'"); this.debug("Sending authentication token..."); - this.debug("with id: '"+attr.id+"' and pass: '"+this.password+"'") this.send(""+handshake+""); },