From 4bd50c7a4cf6d374b31a0072bc0344c9e363627e Mon Sep 17 00:00:00 2001 From: Antony Kurniawan Date: Wed, 1 Oct 2025 10:16:38 +0700 Subject: [PATCH] add: captcha --- utils/captcha.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/captcha.js b/utils/captcha.js index 50aee24..d14d31c 100644 --- a/utils/captcha.js +++ b/utils/captcha.js @@ -1,7 +1,7 @@ const svgCaptcha = require('svg-captcha'); function createCaptcha() { - const captcha = svgCaptcha.create({ size: 5, noise: 2, color: true }); + const captcha = svgCaptcha.create({ size: 5, noise: 7, color: true }); return { svg: captcha.data, text: captcha.text }; }