mirror of
https://github.com/twisterarmy/twister-calm.git
synced 2025-02-05 03:24:40 +00:00
Fix login error
When you import a private key, nickname was not converted to lowercase, which is why an error occurred.
This commit is contained in:
parent
e8dff5e23b
commit
4aac7a4793
@ -171,7 +171,7 @@ function sendNewUserTransaction(username, cbFunc) {
|
|||||||
|
|
||||||
function importSecretKeypress() {
|
function importSecretKeypress() {
|
||||||
var secretKey = $(".secret-key-import").val();
|
var secretKey = $(".secret-key-import").val();
|
||||||
var username = $(".username-import").val();
|
var username = $(".username-import").val().toLowerCase();
|
||||||
var $importButton = $(".import-secret-key");
|
var $importButton = $(".import-secret-key");
|
||||||
|
|
||||||
if( secretKey.length == 52 && username.length ) {
|
if( secretKey.length == 52 && username.length ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user