Integrated hCaptcha.

This commit is contained in:
2026-01-24 17:53:01 +01:00
parent 9933b4fbf0
commit b7bd0fac03
6 changed files with 84 additions and 2 deletions

View File

@@ -63,6 +63,11 @@ module.exports = {
signup: true,
usernameLength: [2, 24],
usernamePattern: /^[a-zA-Z0-9_-]+$/,
captcha: {
enabled: false,
siteKey: '10000000-ffff-ffff-ffff-000000000001',
secretKey: '0x0000000000000000000000000000000000000000',
},
},
bans: {
defaultExpiry: 60 * 24 * 3, // in minutes, 3 days