mirror of https://github.com/xwiki-labs/cryptpad
downgrade an XXX to a FIXME
This commit is contained in:
parent
744be9929f
commit
55f19b998f
|
@ -190,14 +190,13 @@ var createUser = function (config, cb) {
|
||||||
}));
|
}));
|
||||||
}).nThen(function () {
|
}).nThen(function () {
|
||||||
/*
|
/*
|
||||||
// XXX race condition because both users try to pin things...
|
// FIXME race condition because both users try to pin things...
|
||||||
user.team_rpc.getServerHash(w(function (err, hash) {
|
user.team_rpc.getServerHash(w(function (err, hash) {
|
||||||
if (err) {
|
if (err) {
|
||||||
w.abort();
|
w.abort();
|
||||||
return void cb(err);
|
return void cb(err);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
/*
|
|
||||||
if (!hash || hash[0] !== EMPTY_ARRAY_HASH) {
|
if (!hash || hash[0] !== EMPTY_ARRAY_HASH) {
|
||||||
console.error("EXPECTED EMPTY ARRAY HASH");
|
console.error("EXPECTED EMPTY ARRAY HASH");
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|
Loading…
Reference in New Issue