add ALTCHA challenge endpoint and env config.
GET /api/altcha/challenge, nullcart-style env validation, and ALTCHA_ENABLED wiring.
This commit is contained in:
+1
-2
@@ -21,8 +21,7 @@ CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
|
||||
MAX_IMAGES_PER_UPLOAD=10
|
||||
MULTER_MAX_FILE_BYTES=10485760
|
||||
|
||||
CAPTCHA_ENABLED=true
|
||||
|
||||
ALTCHA_ENABLED=true
|
||||
ALTCHA_HMAC_KEY=change-me-use-long-random-secret
|
||||
ALTCHA_MAX_NUMBER=50000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user