Mercurial > hg > rlgwebd
changeset 83:e04c8bf6d4da
rlgterm.js: fix debugging messages for registration.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Sun, 08 Jul 2012 08:10:55 -0700 |
parents | 7480ef947d45 |
children | d59dc5cef412 |
files | rlgterm.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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') {