@@ -524,12 +524,12 @@ var UI = (function(UI, undefined) {
524524
525525 content += "<div class='input-group'>"
526526 + "<label data-i18n=light_wallet_user'>" + i18n . t ( "light_wallet_user" ) + "</label>"
527- + "<input type='text' min='" + configuration . lightWalletUser + "' name='light_wallet_user' id='light_wallet_user' placeholder='' value='" + String ( configuration . lightWalletUser ? configuration . lightWalletUser : '' ) . escapeHTML ( ) + "' />"
527+ + "<input type='text' min='" + configuration . lightWalletUser + "' name='light_wallet_user' id='light_wallet_user' placeholder='' value='" + UI . format ( configuration . lightWalletUser ? configuration . lightWalletUser : '' ) + "' />"
528528 + "</div>" ;
529529
530530 content += "<div class='input-group'>"
531531 + "<label data-i18n=light_wallet_password'>" + i18n . t ( "light_wallet_password" ) + "</label>"
532- + "<input type='password' min='" + configuration . lightWalletPassword + "' name='light_wallet_password' id='light_wallet_password' placeholder='' value='" + String ( configuration . lightWalletPassword ? configuration . lightWalletPassword : '' ) . escapeHTML ( ) + "' />"
532+ + "<input type='password' min='" + configuration . lightWalletPassword + "' name='light_wallet_password' id='light_wallet_password' placeholder='' value='" + UI . format ( configuration . lightWalletPassword ? configuration . lightWalletPassword : '' ) + "' />"
533533 + "</div>" ;
534534
535535 content += "<div class='input-group'><label data-i18n='min_weight_magnitude'>" + i18n . t ( "min_weight_magnitude" ) + "</label>" +
@@ -597,11 +597,11 @@ var UI = (function(UI, undefined) {
597597 config . lightWalletHost = res [ 1 ] ;
598598 config . lightWalletPort = res [ 2 ] ;
599599
600- var lightWalletUser = document . getElementById ( "light_wallet_user" ) . value ;
600+ var lightWalletUser = '' // document.getElementById("light_wallet_user").value;
601601 if ( lightWalletUser !== "" ) {
602602 config . lightWalletUser = lightWalletUser ;
603603 }
604- var lightWalletPassword = document . getElementById ( "light_wallet_password" ) . value ;
604+ var lightWalletPassword = '' // document.getElementById("light_wallet_password").value;
605605 if ( lightWalletPassword !== "" ) {
606606 config . lightWalletPassword = lightWalletPassword ;
607607 }
0 commit comments