Merge pull request #182 from aruznieto/i18n

feat: i18n
This commit is contained in:
Aliaksei 2023-10-19 19:52:38 +01:00 committed by GitHub
commit 4a5f8469b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 555 additions and 97 deletions

View file

@ -10,7 +10,7 @@ const loginLimiter = rateLimit({
max: Number(process.env.ZU_LOGIN_LIMIT_ATTEMPTS) || 50, // limit each IP to 50 requests per windowMs
message: {
status: 429,
error: "Too many login attempts, please try again in 15 minutes.",
error: "tooManyAttempts",
},
});