fix import key error occuring when username is not lowercase

This commit is contained in:
digital dreamer 2014-03-19 12:40:04 +01:00
parent 7a68cccfde
commit 47de339ccc

View File

@ -183,7 +183,7 @@ function importSecretKeypress() {
function importSecretKeyClick() {
var secretKey = $(".secret-key-import").val();
var username = $(".username-import").val();
var username = $(".username-import").val().toLowerCase();
twisterRpc("importprivkey", [secretKey,username],
function(args, ret) {