From 4aac7a4793ad077ac828d78e149aeb3e4d8d9bc9 Mon Sep 17 00:00:00 2001 From: Yura Imashev Date: Sun, 16 Mar 2014 13:19:12 -0700 Subject: [PATCH] Fix login error When you import a private key, nickname was not converted to lowercase, which is why an error occurred. --- js/twister_user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/twister_user.js b/js/twister_user.js index 3e8d33f..e30308e 100644 --- a/js/twister_user.js +++ b/js/twister_user.js @@ -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 ) {