|
|
@ -180,7 +180,7 @@ define([
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
console.error(decryptedBlock);
|
|
|
|
//console.error(decryptedBlock);
|
|
|
|
res.blockInfo = decryptedBlock;
|
|
|
|
res.blockInfo = decryptedBlock;
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
@ -275,7 +275,7 @@ define([
|
|
|
|
if (res.blockInfo) {
|
|
|
|
if (res.blockInfo) {
|
|
|
|
opt = loginOptionsFromBlock(res.blockInfo);
|
|
|
|
opt = loginOptionsFromBlock(res.blockInfo);
|
|
|
|
userHash = res.blockInfo.User_hash;
|
|
|
|
userHash = res.blockInfo.User_hash;
|
|
|
|
console.error(opt, userHash);
|
|
|
|
//console.error(opt, userHash);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
console.log("allocating random bytes for a new user object");
|
|
|
|
console.log("allocating random bytes for a new user object");
|
|
|
|
opt = allocateBytes(Nacl.randomBytes(Exports.requiredBytes));
|
|
|
|
opt = allocateBytes(Nacl.randomBytes(Exports.requiredBytes));
|
|
|
@ -293,7 +293,7 @@ define([
|
|
|
|
return void cb('MODERN_REGISTRATION_INIT');
|
|
|
|
return void cb('MODERN_REGISTRATION_INIT');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
console.error(JSON.stringify(rt.proxy));
|
|
|
|
//console.error(JSON.stringify(rt.proxy));
|
|
|
|
|
|
|
|
|
|
|
|
// export the realtime object you checked
|
|
|
|
// export the realtime object you checked
|
|
|
|
RT = rt;
|
|
|
|
RT = rt;
|
|
|
|