mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 16:37:52 +00:00
fix import key error occuring when username is not lowercase
This commit is contained in:
parent
7a68cccfde
commit
47de339ccc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user