From 1f44dadfb24913d9a6835f3b18340ede580e886a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 30 Jul 2020 22:45:46 -0400 Subject: increase auditing interval --- routes/payments.js | 2 +- routes/users.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3