This commit is contained in:
Sai Raj 2019-08-09 20:35:44 +05:30 committed by GitHub
parent 6ab215b346
commit a8f15adeec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,8 +99,10 @@ function login(){
function signUp(){
registerID(floID,window.location.host,privKey,encrypt.getPubKeyHex(privKey),username).then(result =>{
customAlert(`Registration Successful!<br/> txid : ${result}`,'success');
reloadInitData().then(result => {
refreshAPIdata().then(result => {
console.log(result);
sessionStorage.profiles = JSON.stringify(profiles);
sessionStorage.superNodeList = JSON.stringify(Array.from(superNodeList));
login();
}).catch(error => {
console.log(error);