diff --git a/app/web/login.js b/app/web/login.js index 3faf2eb..a1c565c 100644 --- a/app/web/login.js +++ b/app/web/login.js @@ -84,7 +84,7 @@ function signIn(){ login(); }catch(msg){ console.log(msg) - customAlert(`${msg}`,'warning'); + customAlert(`${msg}`,'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!
txid : ${result}`,'success'); - refreshAPIdata().then(result => { + reloadInitData().then(result => { console.log(result); login(); }).catch(error => {