From 29bccda9aee01bff49bb326aedb768524c0531c1 Mon Sep 17 00:00:00 2001 From: Sai Raj <39055732+sairajzero@users.noreply.github.com> Date: Fri, 9 Aug 2019 15:39:10 +0530 Subject: [PATCH] bug fix --- app/web/login.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 => {