mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 17:07:53 +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() {
|
function importSecretKeyClick() {
|
||||||
var secretKey = $(".secret-key-import").val();
|
var secretKey = $(".secret-key-import").val();
|
||||||
var username = $(".username-import").val();
|
var username = $(".username-import").val().toLowerCase();
|
||||||
|
|
||||||
twisterRpc("importprivkey", [secretKey,username],
|
twisterRpc("importprivkey", [secretKey,username],
|
||||||
function(args, ret) {
|
function(args, ret) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user