# HG changeset patch # User John "Elwin" Edwards # Date 1341760255 25200 # Node ID e04c8bf6d4da42c517bd19bb5d3a1bedf667dc97 # Parent 7480ef947d453d6dfc6ac1bd1d4e35d4a983a912 rlgterm.js: fix debugging messages for registration. diff -r 7480ef947d45 -r e04c8bf6d4da rlgterm.js --- a/rlgterm.js Sun Jul 08 08:07:09 2012 -0700 +++ b/rlgterm.js Sun Jul 08 08:10:55 2012 -0700 @@ -690,11 +690,11 @@ var reply = JSON.parse(req.responseText); if (reply.t == 'r') { /* Success */ - debug(1, "Registered account: " + reply.d); + debug(1, "Registered account: " + reply.u); session.lcred = reply.k; session.lname = reply.u; setTitle("Logged in as " + session.lname); - debug(1, "Logged in as " + session.lname + "with id " + session.lcred); + debug(1, "Logged in as " + session.lname + " with id " + session.lcred); setmode("choose"); } else if (reply.t == 'E') {