bug fix
This commit is contained in:
parent
24c4542d92
commit
29bccda9ae
@ -84,7 +84,7 @@ function signIn(){
|
||||
login();
|
||||
}catch(msg){
|
||||
console.log(msg)
|
||||
customAlert(`${msg}<span class="closebtn" onclick="this.parentElement.parentElement.style.display='none'; signUp();">✔</span>`,'warning');
|
||||
customAlert(`${msg}<span class="closebtn" onclick="this.parentElement.style.display='none'; signUp();">✔</span>`,'warning');
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,9 +97,9 @@ function login(){
|
||||
}
|
||||
|
||||
function signUp(){
|
||||
registerID(floID,window.location.host,privKey,privKey.getPubKeyHex(),username).then(result =>{
|
||||
registerID(floID,window.location.host,privKey,encrypt.getPubKeyHex(privKey),username).then(result =>{
|
||||
customAlert(`Registration Successful!<br/> txid : ${result}`,'success');
|
||||
refreshAPIdata().then(result => {
|
||||
reloadInitData().then(result => {
|
||||
console.log(result);
|
||||
login();
|
||||
}).catch(error => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user