aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-07-30 22:45:46 -0400
committerAdam Soltys <[email protected]>2020-07-30 22:45:48 -0400
commit1f44dadfb24913d9a6835f3b18340ede580e886a (patch)
treee4614fe796302d3c6befecad5d566f9316b1f574
parent51405858756e107304a908898d2ac6ea5a43f121 (diff)
downloadcoinos-server-1f44dadfb24913d9a6835f3b18340ede580e886a.tar.gz
coinos-server-1f44dadfb24913d9a6835f3b18340ede580e886a.zip
increase auditing interval
-rw-r--r--routes/payments.js2
-rw-r--r--routes/users.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/routes/payments.js b/routes/payments.js
index e0668726..dcd76f2e 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -75,7 +75,7 @@ const read = require("../lib/read");
if (unaccounted.length)
l.warn("wallet transactions missing from database", unaccounted);
- }, 60000);
+ }, 720000);
app.post("/send", auth, require("./send"));
diff --git a/routes/users.js b/routes/users.js
index 3aeeb702..1a0f82c1 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -442,6 +442,8 @@ app.post(
let token = jwt.sign(payload, config.jwt);
res.cookie("token", token, { expires: new Date(Date.now() + 432000000) });
return res.send({ user });
+ } else {
+ l.info("user", user.username);
}
let account = await getAccount(source.account.asset, user);