diff rlgterm.js @ 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 06375a159188
children d644e7d46852
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') {