# HG changeset patch # User Matthew Wild # Date 1267458619 0 # Node ID 701b83c8b687b04f1b0d4ae3569435ccc536581f # Parent 74a24eb1fb440a7ed4d156fd8d3ee92309d99a06 xmpp.js: Clearer logging to show calculated auth token 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+""); },