Only use POST for login, and only if the GET string is empty
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / static / mctx.gui.js
index 3df2bac..c64f3c4 100644 (file)
@@ -123,7 +123,7 @@ function runBeforeLoad(isLoginPage) {
                 window.location = mctx.location + "login.html";
             }
         } else {
-            mctx.friendlyName = data.friendly_name;
+            mctx.friendlyName = data.user_name;
         }
     }).fail(function (jqHXR) {
         if (mctx.debug) {

UCC git Repository :: git.ucc.asn.au