Browse Source

Fix login error

When you import a private key, nickname was not converted to lowercase, which is why an error occurred.
master
Yura Imashev 11 years ago
parent
commit
4aac7a4793
  1. 2
      js/twister_user.js

2
js/twister_user.js

@ -171,7 +171,7 @@ function sendNewUserTransaction(username, cbFunc) { @@ -171,7 +171,7 @@ function sendNewUserTransaction(username, cbFunc) {
function importSecretKeypress() {
var secretKey = $(".secret-key-import").val();
var username = $(".username-import").val();
var username = $(".username-import").val().toLowerCase();
var $importButton = $(".import-secret-key");
if( secretKey.length == 52 && username.length ) {

Loading…
Cancel
Save