@@ -18,7 +18,7 @@ REDIS_PASSWORD=
# The daily limit for each user
USER_LIMIT_PER_DAY=50
-# Create a cooldown for non-users in minutes
+# Create a cooldown for non-logged in users in minutes
# Set 0 to disable
NON_USER_COOLDOWN=0
@@ -131,7 +131,7 @@ exports.ipCooldownCheck = async (req, res, next) => {
const timeToWait = cooldonwConfig - differenceInMinutes(new Date(), cooldownDate);
return res
.status(400)
- .json({ error: `Non-users are limited. Wait ${timeToWait} minutes or log in.` });
+ .json({ error: `Non-logged in users are limited. Wait ${timeToWait} minutes or log in.` });
}
next();
};